'''simple docstring'''
from __future__ import annotations

from fractions import Fraction



def  __lowerCamelCase       (      _UpperCamelCase  :  int							,    _UpperCamelCase  :  int					):


      '''simple docstring'''


      return (
          num != den and num % 10 == den // 10 and (num // 10) / (den % 10) == num / den
      )



def  __lowerCamelCase       (      _UpperCamelCase  :  int					):


      '''simple docstring'''


      UpperCAmelCase_            =  []
      UpperCAmelCase_            =  11
      UpperCAmelCase_            =  int('''1''' + '''0''' * digit_len					)
      for num in range(_UpperCamelCase							,    _UpperCamelCase					):
            while den <= 99:
                  if (num != den) and (num % 10 == den // 10) and (den % 10 != 0):
                        if is_digit_cancelling(_UpperCamelCase							,    _UpperCamelCase					):
                              solutions.append(F"""{num}/{den}"""					)
                  den += 1
            num += 1
            UpperCAmelCase_            =  10
      return solutions



def  __lowerCamelCase       (      _UpperCamelCase  :  int = 2					):


      '''simple docstring'''


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


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






'''simple docstring'''
import re



def  __lowerCamelCase       (      _UpperCamelCase  :  str					):


      '''simple docstring'''


      return [char.split() for char in re.split(R'''[^ a-z A-Z 0-9 \s]'''							,    str_					)]



def  __lowerCamelCase       (      _UpperCamelCase  :  str					):


      '''simple docstring'''


      UpperCAmelCase_            =  split_input(str_					)
      return "".join(
          [''''''.join([char.capitalize() for char in sub_str]					) for sub_str in string_split]					)



def  __lowerCamelCase       (      _UpperCamelCase  :  str							,    _UpperCamelCase  :  bool							,    _UpperCamelCase  :  str					):


      '''simple docstring'''


      try:
            UpperCAmelCase_            =  split_input(_UpperCamelCase					)
            if upper:
                  UpperCAmelCase_            =  ''''''.join(
                      [
                          separator.join([char.upper() for char in sub_str]					)
                          for sub_str in string_split
                      ]					)
            else:
                  UpperCAmelCase_            =  ''''''.join(
                      [
                          separator.join([char.lower() for char in sub_str]					)
                          for sub_str in string_split
                      ]					)
            return res_str
      except IndexError:
            return "not valid string"



def  __lowerCamelCase       (      _UpperCamelCase  :  str					):


      '''simple docstring'''


      return to_simple_case(_UpperCamelCase					)



def  __lowerCamelCase       (      _UpperCamelCase  :  str					):


      '''simple docstring'''


      try:
            UpperCAmelCase_            =  to_simple_case(_UpperCamelCase					)
            return res_str[0].lower() + res_str[1:]
      except IndexError:
            return "not valid string"



def  __lowerCamelCase       (      _UpperCamelCase  :  str							,    _UpperCamelCase  :  bool					):


      '''simple docstring'''


      return to_complex_case(_UpperCamelCase							,    _UpperCamelCase							,    '''_'''					)



def  __lowerCamelCase       (      _UpperCamelCase  :  str							,    _UpperCamelCase  :  bool					):


      '''simple docstring'''


      return to_complex_case(_UpperCamelCase							,    _UpperCamelCase							,    '''-'''					)


if __name__ == "__main__":
      __import__("doctest").testmod()





