




class   A:



 '''simple docstring'''


 def __init__(    self :  str						,							A_ :  str  )       ->     int:

       """simple docstring"""






       lowerCamelCase_							=   arr.split(','  )





 def     a__			(    self :  List[Any]  )       ->     int:

       """simple docstring"""






       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__":
 lowerCamelCase    :		Optional[Any]			   =       input("please input some numbers:")
 lowerCamelCase    :		Union[str, Any]			   =       SubArray(whole_array)
 lowerCamelCase    :		List[Any]			   =       array.solve_sub_array()
 print(("the results is:", re))









import math

def       _SCREAMING_SNAKE_CASE      (							lowercase     :	int					):


      '''simple docstring'''



      lowerCamelCase_							=   0
      lowerCamelCase_							=   0
      while num > 0:
            lowerCamelCase_							=   num % 8
            lowerCamelCase_							=   octal + (remainder * math.floor(math.pow(10     ,							lowercase					)					))
            counter += 1
            lowerCamelCase_							=   math.floor(num / 8					)  # basically /= 8 without remainder if any
            # This formatting removes trailing '.0' from `octal`.
      return f"""0o{int(lowercase					)}"""

def       _SCREAMING_SNAKE_CASE      (							):


      '''simple docstring'''



      print('\n2 in octal is:'					)
      print(decimal_to_octal(2					)					)  # = 2
      print('\n8 in octal is:'					)
      print(decimal_to_octal(8					)					)  # = 10
      print('\n65 in octal is:'					)
      print(decimal_to_octal(65					)					)  # = 101
      print('\n216 in octal is:'					)
      print(decimal_to_octal(2_16					)					)  # = 330
      print('\n512 in octal is:'					)
      print(decimal_to_octal(5_12					)					)  # = 1000
      print('\n'					)


if __name__ == "__main__":
 main()



