



import os






def 						_lowerCAmelCase    (					):



 """simple docstring"""





 __SCREAMING_SNAKE_CASE							:     Dict							=						0
 __SCREAMING_SNAKE_CASE							:     List[Any]							=						0
 with open(os.path.dirname(__snake_case  ) + "/p022_names.txt"  ) as file:
  __SCREAMING_SNAKE_CASE							:     Tuple							=						str(file.readlines()[0]  )
  __SCREAMING_SNAKE_CASE							:     Union[str, Any]							=						name.replace("\""		,						""  ).split(","  )

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


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










def 				UpperCamelCase_	(					__snake_case      :    set						,      __snake_case      :    set  )->   set:




						'''simple docstring'''
						assert isinstance(__snake_case						,      __snake_case  ), F'''The input value of [set_a={set_a}] is not a set'''
						assert isinstance(__snake_case						,      __snake_case  ), F'''The input value of [set_b={set_b}] is not a set'''

						return {a + b for a in set_a for b in set_b}


if __name__ == "__main__":
					from doctest import testmod

					testmod()

