


'''simple docstring'''




class 		UpperCAmelCase_      :





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





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


if __name__ == "__main__":
       __snake_case    						=input("""please input some numbers:""")
       __snake_case    						=SubArray(whole_array)
       __snake_case    						=array.solve_sub_array()
       print(("""the results is:""", re))









'''simple docstring'''
import unittest

from accelerate import debug_launcher
from accelerate.test_utils import require_cpu, test_ops, test_script




@require_cpu
class 			lowerCamelCase_   (	unittest.TestCase      ):






      def lowercase_							(					self				:    Tuple ):


          '''simple docstring'''


          debug_launcher(test_script.main )






      def lowercase_							(					self				:    List[str] ):


          '''simple docstring'''


          debug_launcher(test_ops.main )
