





"""simple docstring"""




import os




def _a (  )	->    int:

							'''simple docstring'''






							with open(os.path.dirname(_UpperCAmelCase       ) + "/p022_names.txt"       ) as file:
														SCREAMING_SNAKE_CASE__       :      Optional[Any]     =						str(file.readlines()[0]       )
														SCREAMING_SNAKE_CASE__       :      int     =						names.replace("\""			,				""       ).split(","       )

							names.sort()

							SCREAMING_SNAKE_CASE__       :      Optional[int]     =						0
							SCREAMING_SNAKE_CASE__       :      int     =						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__       :      Dict     =						0
							return total_score


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













from __future__ import annotations




def _a (  SCREAMING_SNAKE_CASE__      :  list[float]			,				SCREAMING_SNAKE_CASE__      :  list[float]       )	->    float:

							'''simple docstring'''






							SCREAMING_SNAKE_CASE__       :      List[Any]     =						sorted(numsa + numsa       )
							SCREAMING_SNAKE_CASE__   ,SCREAMING_SNAKE_CASE__       :      Dict     =						divmod(len(SCREAMING_SNAKE_CASE__       )			,				2       )
							if mod == 1:
														return all_numbers[div]
							else:
														return (all_numbers[div] + all_numbers[div - 1]) / 2


if __name__ == "__main__":
		import doctest

		doctest.testmod()
		_lowerCamelCase :    List[str]  							= [float(x) for x in input('''Enter the elements of first array: ''').split()]
		_lowerCamelCase :    Any  							= [float(x) for x in input('''Enter the elements of second array: ''').split()]
		print(f"The median of two arrays is: {median_of_two_arrays(array_a, array_a)}")






