
"""simple docstring"""

import os
def 		UpperCAmelCase (		):





		'''simple docstring'''


		with open(os.path.dirname(a_      ) + '/p022_names.txt'      ) as file:
				lowerCamelCase					:      Dict          =   str(file.readlines()[0]      )
				lowerCamelCase					:      Union[str, Any]          =   names.replace('"',						''      ).split(','      )

		names.sort()

		lowerCamelCase					:      Any          =   0
		lowerCamelCase					:      Dict          =   0

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

				total_score += (i + 1) * name_score
				lowerCamelCase					:      Tuple          =   0
		return total_score


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








"""simple docstring"""

def 		UpperCAmelCase (		a_ = 1000      ):





		'''simple docstring'''


		lowerCamelCase					:      Dict          =   2**power
		lowerCamelCase					:      List[str]          =   str(a_      )
		lowerCamelCase					:      Dict          =   list(a_      )
		lowerCamelCase					:      Optional[Any]          =   0

		for i in list_num:
				sum_of_num += int(a_      )

		return sum_of_num


if __name__ == "__main__":
					_A						=			int(input('Enter the power of 2: ').strip())
					print('2 ^ ', power, ' = ', 2**power)
					_A						=			solution(power)
					print('Sum of the digits is: ', result)






