

from __future__ import annotations

from fractions import Fraction
def      a      (			A__	:   int      ,   A__	:   int     )    ->      bool:





      """simple docstring"""



      return (
          num != den and num % 10 == den // 10 and (num // 10) / (den % 10) == num / den
      )
def      a      (			A__	:   int     )    ->      list[str]:





      """simple docstring"""



      _lowercase	       =[]
      _lowercase	       =11
      _lowercase	       =int('1' + '0' * digit_len     )
      for num in range(A__      ,   A__     ):
            while den <= 99:
                  if (num != den) and (num % 10 == den // 10) and (den % 10 != 0):
                        if is_digit_cancelling(A__      ,   A__     ):
                              solutions.append(F'''{num}/{den}'''     )
                  den += 1
            num += 1
            _lowercase	       =10
      return solutions
def      a      (			A__	:   int = 2     )    ->      int:





      """simple docstring"""



      _lowercase	       =1.0
      for fraction in fraction_list(A__     ):
            _lowercase	       =Fraction(A__     )
            result *= frac.denominator / frac.numerator
      return int(A__     )


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





import os
def      a      (			)    ->      Any:





      """simple docstring"""



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

      names.sort()

      _lowercase	       =0
      _lowercase	       =0

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

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


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


