


"""simple docstring"""





class 		snake_case_:






     def __init__(	self  :					str					,				UpperCamelCase_  :					List[str]				):
           # we need a list not a string, so do something to change the type
           lowerCAmelCase					:	Optional[Any]       =   arr.split(''','''				)






     def      lowerCamelCase__     (	self  :					Optional[int]				):
           lowerCAmelCase					:	List[Any]       =   [int(self.array[0]				)] * len(self.array				)
           lowerCAmelCase					:	Dict       =   [int(self.array[0]				)] * len(self.array				)
           for i in range(1					,				len(self.array				)				):
                 lowerCAmelCase					:	List[Any]       =   max(
                     int(self.array[i]				) + sum_value[i - 1]					,				int(self.array[i]				)				)
                 lowerCAmelCase					:	Union[str, Any]       =   max(sum_value[i]					,				rear[i - 1]				)
           return rear[len(self.array				) - 1]


if __name__ == "__main__":
 snake_case__		:     Dict    				=				input('''please input some numbers:''')
 snake_case__		:     Optional[Any]    				=				SubArray(whole_array)
 snake_case__		:     Any    				=				array.solve_sub_array()
 print(('''the results is:''', re))






"""simple docstring"""





from torch import nn



class 		snake_case_(       nn.Module			):






     def __init__(	self  :					int					,				UpperCamelCase_  :					int					,				UpperCamelCase_  :					int				):
           super().__init__()
           lowerCAmelCase					:	str       =   class_size
           lowerCAmelCase					:	Dict       =   embed_size
           # self.mlp1 = nn.Linear(embed_size, embed_size)
           # self.mlp2 = (nn.Linear(embed_size, class_size))
           lowerCAmelCase					:	Any       =   nn.Linear(UpperCamelCase_					,				UpperCamelCase_				)






     def      lowerCamelCase__     (	self  :					List[Any]					,				UpperCamelCase_  :					Tuple				):
           # hidden_state = nn.functional.relu(self.mlp1(hidden_state))
           # hidden_state = self.mlp2(hidden_state)
           lowerCAmelCase					:	int       =   self.mlp(UpperCamelCase_				)
           return logits


