


import os

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

     names.sort()

     __UpperCamelCase    							=0
     __UpperCamelCase    							=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
          __UpperCamelCase    							=0
     return total_score


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











import os
import tempfile
import unittest

from transformers.models.marian.convert_marian_tatoeba_to_pytorch import DEFAULT_REPO, TatoebaConverter
from transformers.testing_utils import slow
from transformers.utils import cached_property




@unittest.skipUnless(os.path.exists(lowerCAmelCase__     )    ,				"""Tatoeba directory does not exist."""     )
class 		UpperCamelCase__	(unittest.TestCase     ):

    '''simple docstring'''



    @cached_property
    def     _lowercase     (    self     )     ->      int:
           lowerCamelCase   :      str			 =					tempfile.mkdtemp()
           return TatoebaConverter(save_dir=UpperCamelCase__     )







    @slow
    def     _lowercase     (    self     )     ->      List[Any]:
           self.resolver.convert_models(["heb-eng"]     )







    @slow
    def     _lowercase     (    self     )     ->      Tuple:
           lowerCamelCase ,      lowerCamelCase   :      Dict			 =					self.resolver.write_model_card("opus-mt-he-en"     ,  dry_run=UpperCamelCase__     )
           assert mmeta["long_pair"] == "heb-eng"






