
class __snake_case		:
    def __init__(  self		,snake_case      ):



           '''simple docstring'''







           lowercase							:     List[Any]       	=      arr.split(""","""      )
    def       _SCREAMING_SNAKE_CASE       (  self      ):



           '''simple docstring'''







           lowercase							:     Tuple       	=      [int(self.array[0]      )] * len(self.array      )
           lowercase							:     Any       	=      [int(self.array[0]      )] * len(self.array      )
           for i in range(1		,len(self.array      )      ):
                  lowercase							:     Optional[int]       	=      max(
                      int(self.array[i]      ) + sum_value[i - 1]		,int(self.array[i]      )      )
                  lowercase							:     Optional[int]       	=      max(sum_value[i]		,rear[i - 1]      )
           return rear[len(self.array      ) - 1]


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







lowerCAmelCase_    =				{
    "joule": 1.0,
    "kilojoule": 1_0_0_0,
    "megajoule": 1_0_0_0_0_0_0,
    "gigajoule": 1_0_0_0_0_0_0_0_0_0,
    "wattsecond": 1.0,
    "watthour": 3_6_0_0,
    "kilowatthour": 3_6_0_0_0_0_0,
    "newtonmeter": 1.0,
    "calorie_nutr": 4_1_8_6.8,
    "kilocalorie_nutr": 4_1_8_6_8_0_0.0_0,
    "electronvolt": 1.602_176_634e-19,
    "britishthermalunit_it": 1_0_5_5.0_5_5_8_5,
    "footpound": 1.355_818,
}






def      lowerCamelCase_						(				_UpperCamelCase ,				_UpperCamelCase ,				_UpperCamelCase )		->						float:






				"""simple docstring"""


				if to_type not in ENERGY_CONVERSION or from_type not in ENERGY_CONVERSION:
								snake_case_						:    str				=  (
								    f'''Incorrect \'from_type\' or \'to_type\' value: {from_type!r}, {to_type!r}\n'''
								    f'''Valid values are: {", ".join(_UpperCamelCase )}'''
								)
								raise ValueError(_UpperCamelCase )
				return value * ENERGY_CONVERSION[from_type] / ENERGY_CONVERSION[to_type]


if __name__ == "__main__":
	import doctest

	doctest.testmod()
