
class 						lowercase__  :
	def __init__(			self							:   List[str]       ,   UpperCAmelCase_							:   List[str]							):
						# we need a list not a string, so do something to change the type
						SCREAMING_SNAKE_CASE__													= arr.split(','							)





	def      A_				(			self							:   Tuple							):
						SCREAMING_SNAKE_CASE__													= [int(self.array[0]							)] * len(self.array							)
						SCREAMING_SNAKE_CASE__													= [int(self.array[0]							)] * len(self.array							)
						for i in range(1       ,   len(self.array							)							):
											SCREAMING_SNAKE_CASE__													= max(
											    int(self.array[i]							) + sum_value[i - 1]       ,   int(self.array[i]							)							)
											SCREAMING_SNAKE_CASE__													= 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))







import os






def 							_lowercase							(     )		->		List[str]:
					'''simple docstring'''


					with open(os.path.dirname(UpperCamelCase_		) + '/p022_names.txt'		) as file:
										SCREAMING_SNAKE_CASE__													= str(file.readlines()[0]		)
										SCREAMING_SNAKE_CASE__													= names.replace('"'	,	''		).split(','		)

					names.sort()

					SCREAMING_SNAKE_CASE__													= 0
					SCREAMING_SNAKE_CASE__													= 0

					for i, name in enumerate(UpperCamelCase_		):
										for letter in name:
															name_score += ord(UpperCamelCase_		) - 64

										total_score += (i + 1) * name_score
										SCREAMING_SNAKE_CASE__													= 0
					return total_score


if __name__ == "__main__":
				print(solution())





