

'''simple docstring'''

import os

def      __magic_name__							(			)      ->		List[Any]:
	snake_case							=					0
	snake_case							=					0
	with open(os.path.dirname(A				) + '/p022_names.txt'				) as file:
		snake_case							=					str(file.readlines()[0]				)
		snake_case							=					name.replace('"'       , ''				).split(','				)

	name.sort()
	for i in range(len(A				)				):
		for j in name[i]:
			temp_sum += ord(A				) - ord('A'				) + 1
		total_sum += (i + 1) * temp_sum
		snake_case							=					0
	return total_sum


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








import numpy as np







def _a					(			SCREAMING_SNAKE_CASE						:     Union[str, Any]						)       ->       List[str]:

 """simple docstring"""






 __lowerCAmelCase:  Union[str, Any]        = np.exp(SCREAMING_SNAKE_CASE						)

 # Add up the all the exponentials
 __lowerCAmelCase:  Dict        = np.sum(SCREAMING_SNAKE_CASE						)

 # Divide every exponent by the sum of all exponents
 __lowerCAmelCase:  int        = exponent_vector / sum_of_exponents

 return softmax_vector


if __name__ == "__main__":
  print(softmax((0,)))





