
"""simple docstring"""




import os


def 						UpperCAmelCase      (     )		->     Union[str, Any]:







				"""simple docstring"""



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

				names.sort()

				__A             =			0
				__A             =			0

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

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


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


from __future__ import annotations


def 						UpperCAmelCase      (     a_ = 4						)		->     list[list[int]]:







				"""simple docstring"""



				__A             =			abs(a_						) or 4
				return [[1 + x + y * row_size for x in range(a_						)] for y in range(a_						)]


def 						UpperCAmelCase      (     a_						)		->     list[list[int]]:







				"""simple docstring"""



				return reverse_row(transpose(a_						)						)
				# OR.. transpose(reverse_column(matrix))


def 						UpperCAmelCase      (     a_						)		->     list[list[int]]:







				"""simple docstring"""



				return reverse_row(reverse_column(a_						)						)
				# OR.. reverse_column(reverse_row(matrix))


def 						UpperCAmelCase      (     a_						)		->     list[list[int]]:







				"""simple docstring"""



				return reverse_column(transpose(a_						)						)
				# OR.. transpose(reverse_row(matrix))


def 						UpperCAmelCase      (     a_						)		->     list[list[int]]:







				"""simple docstring"""



				__A             =			[list(a_						) for x in zip(*a_						)]
				return matrix


def 						UpperCAmelCase      (     a_						)		->     list[list[int]]:







				"""simple docstring"""



				__A             =			matrix[::-1]
				return matrix


def 						UpperCAmelCase      (     a_						)		->     list[list[int]]:







				"""simple docstring"""



				__A             =			[x[::-1] for x in matrix]
				return matrix


def 						UpperCAmelCase      (     a_						)		->     None:







				"""simple docstring"""



				for i in matrix:
								print(*a_						)


if __name__ == "__main__":
					SCREAMING_SNAKE_CASE							:Union[str, Any]										=    make_matrix()
					print('\norigin:\n')
					print_matrix(matrix)
					print('\nrotate 90 counterclockwise:\n')
					print_matrix(rotate_aa(matrix))

					SCREAMING_SNAKE_CASE							:Tuple										=    make_matrix()
					print('\norigin:\n')
					print_matrix(matrix)
					print('\nrotate 180:\n')
					print_matrix(rotate_aaa(matrix))

					SCREAMING_SNAKE_CASE							:Union[str, Any]										=    make_matrix()
					print('\norigin:\n')
					print_matrix(matrix)
					print('\nrotate 270 counterclockwise:\n')
					print_matrix(rotate_aaa(matrix))
