

import os



def      snake_case__      (   ):



     '''simple docstring'''





     with open(os.path.dirname(SCREAMING_SNAKE_CASE_      ) + '/p022_names.txt'      ) as file:
          lowercase__   :       Optional[int]				=	str(file.readlines()[0]      )
          lowercase__   :       Dict				=	names.replace('"'     ,					''      ).split(','      )

     names.sort()

     lowercase__   :       Tuple				=	0
     lowercase__   :       Any				=	0

     for i, name in enumerate(SCREAMING_SNAKE_CASE_      ):
          for letter in name:
               name_score += ord(SCREAMING_SNAKE_CASE_      ) - 64

          total_score += (i + 1) * name_score
          lowercase__   :       str				=	0
     return total_score


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




import numpy as np

def      snake_case__      (   SCREAMING_SNAKE_CASE_		:   str     ,					SCREAMING_SNAKE_CASE_		:   Optional[int]     ,					SCREAMING_SNAKE_CASE_		:   Optional[int]     ,					SCREAMING_SNAKE_CASE_		:   Union[str, Any]     ,					SCREAMING_SNAKE_CASE_		:   List[Any]      ):



     '''simple docstring'''





     lowercase__   :       List[Any]				=	int(np.ceil((x_end - xa) / h      )      )
     lowercase__   :       Dict				=	np.zeros((n + 1,)      )
     lowercase__   :       Dict				=	ya
     lowercase__   :       Union[str, Any]				=	xa

     for k in range(SCREAMING_SNAKE_CASE_      ):
          lowercase__   :       Optional[int]				=	f(SCREAMING_SNAKE_CASE_     ,					y[k]      )
          lowercase__   :       Dict				=	f(x + 0.5 * h     ,					y[k] + 0.5 * h * ka      )
          lowercase__   :       Any				=	f(x + 0.5 * h     ,					y[k] + 0.5 * h * ka      )
          lowercase__   :       List[Any]				=	f(x + h     ,					y[k] + h * ka      )
          lowercase__   :       Tuple				=	y[k] + (1 / 6) * h * (ka + 2 * ka + 2 * ka + ka)
          x += h

     return y


if __name__ == "__main__":
       import doctest

       doctest.testmod()

