





import os







def 			_a   (		):
					with open(os.path.dirname(SCREAMING_SNAKE_CASE_  ) + "/p022_names.txt"  ) as file:
										__lowerCAmelCase            = str(file.readlines()[0]  )
										__lowerCAmelCase            = names.replace("\""   ,   ""  ).split(","  )

					names.sort()

					__lowerCAmelCase            = 0
					__lowerCAmelCase            = 0

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

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


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










def 			_a   (		SCREAMING_SNAKE_CASE_							:       int  ):
					if divisor % 5 == 0 or divisor % 2 == 0:
										return 0
					__lowerCAmelCase            = 1
					__lowerCAmelCase            = 1
					while repunit:
										__lowerCAmelCase            = (10 * repunit + 1) % divisor
										repunit_index += 1
					return repunit_index







def 			_a   (		SCREAMING_SNAKE_CASE_							:       int = 1_00_00_00  ):
					__lowerCAmelCase            = limit - 1
					if divisor % 2 == 0:
										divisor += 1
					while least_divisible_repunit(SCREAMING_SNAKE_CASE_  ) <= limit:
										divisor += 2
					return divisor


if __name__ == "__main__":
					print(f'''{solution() = }''')




