

'''simple docstring'''







import os
def       UpperCAmelCase__    (      )			->			Tuple:
       with open(os.path.dirname(UpperCAmelCase__				) + """/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(UpperCAmelCase__				):
              for letter in name:
                     name_score += ord(UpperCAmelCase__				) - 64

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


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



'''simple docstring'''







def       UpperCAmelCase__    (      UpperCAmelCase__				)			->			int:
       assert (
           isinstance(UpperCAmelCase__,       UpperCAmelCase__				) and number_of_steps > 0
       ), F'''number_of_steps needs to be positive integer, your input {number_of_steps}'''
       if number_of_steps == 1:
              return 1
       A_					,			A_						=      1, 1
       for _ in range(number_of_steps - 1				):
              A_					,			A_						=      current + previous, current
       return current


if __name__ == "__main__":
      import doctest

      doctest.testmod()
