


'''simple docstring'''

def __snake_case					(      UpperCAmelCase_						:						int		):
 lowerCamelCase_      =  [[0 for _ in range(UpperCAmelCase_		)] for _ in range(m + 1		)]
 for i in range(m + 1		):
  lowerCamelCase_      =  1

 for n in range(m + 1		):
  for k in range(1					,				UpperCAmelCase_		):
   memo[n][k] += memo[n][k - 1]
   if n - k > 0:
    memo[n][k] += memo[n - k - 1][k]

 return memo[m][m - 1]


if __name__ == "__main__":
     import sys

     if len(sys.argv) == 1:
          try:
               a_  :				Optional[int]						= int(input("""Enter a number: """).strip())
               print(partition(n))
          except ValueError:
               print("""Please enter a number.""")
     else:
          try:
               a_  :				str						= int(sys.argv[1])
               print(partition(n))
          except ValueError:
               print("""Please pass a number.""")







'''simple docstring'''

from __future__ import annotations

from fractions import Fraction





def __snake_case					(      UpperCAmelCase_						:						int					,				UpperCAmelCase_						:						int		):
 return (
     num != den and num % 10 == den // 10 and (num // 10) / (den % 10) == num / den
 )





def __snake_case					(      UpperCAmelCase_						:						int		):
 lowerCamelCase_      =  []
 lowerCamelCase_      =  11
 lowerCamelCase_      =  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
  lowerCamelCase_      =  10
 return solutions





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


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



