






import copy
from dataclasses import dataclass
from pathlib import Path
from typing import Dict, Optional, Union
@dataclass
class    _UpperCAmelCase      :

				"""simple docstring"""




				lowercase__       							= None
				lowercase__       							= False
				lowercase__       							= False
				lowercase__       							= False
				lowercase__       							= None
				lowercase__       							= None
				lowercase__       							= False
				lowercase__       							= False
				lowercase__       							= False
				lowercase__       							= True
				lowercase__       							= None
				lowercase__       							= 1
				lowercase__       							= None
				lowercase__       							= False
				lowercase__       							= None
				lowercase__       							= None




				def        lowercase__     (  self		:					Optional[Any]						):

								'''simple docstring'''
								return self.__class__(**{k: copy.deepcopy(lowerCamelCase						) for k, v in self.__dict__.items()}						)












class    _UpperCAmelCase      :

				"""simple docstring"""




				def __init__(  self		:					Optional[int],						lowerCamelCase		:					Union[str, Any]						):

								'''simple docstring'''
								# we need a list not a string, so do something to change the type
								lowercase__     				=    arr.split(''','''						)




				def        lowercase__     (  self		:					Optional[int]						):

								'''simple docstring'''
								lowercase__     				=    [int(self.array[0]						)] * len(self.array						)
								lowercase__     				=    [int(self.array[0]						)] * len(self.array						)
								for i in range(1,						len(self.array						)						):
												lowercase__     				=    max(
												    int(self.array[i]						) + sum_value[i - 1],						int(self.array[i]						)						)
												lowercase__     				=    max(sum_value[i],						rear[i - 1]						)
								return rear[len(self.array						) - 1]


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




