

from __future__ import annotations

from fractions import Fraction






def 					__lowercase      (     _A						,    _A			)     ->						int:
      return (
          num != den and num % 10 == den // 10 and (num // 10) / (den % 10) == num / den
      )






def 					__lowercase      (     _A			)     ->						Optional[Any]:
      SCREAMING_SNAKE_CASE :      int       =   []
      SCREAMING_SNAKE_CASE :      Tuple       =   11
      SCREAMING_SNAKE_CASE :      Optional[int]       =   int("""1""" + """0""" * digit_len			)
      for num in range(lowerCAmelCase_						,    lowerCAmelCase_			):
            while den <= 99:
                  if (num != den) and (num % 10 == den // 10) and (den % 10 != 0):
                        if is_digit_cancelling(lowerCAmelCase_						,    lowerCAmelCase_			):
                              solutions.append(F"{num}/{den}"			)
                  den += 1
            num += 1
            SCREAMING_SNAKE_CASE :      int       =   10
      return solutions






def 					__lowercase      (     _A = 2			)     ->						Union[str, Any]:
      SCREAMING_SNAKE_CASE :      Optional[int]       =   1.0
      for fraction in fraction_list(lowerCAmelCase_			):
            SCREAMING_SNAKE_CASE :      Optional[Any]       =   Fraction(lowerCAmelCase_			)
            result *= frac.denominator / frac.numerator
      return int(lowerCAmelCase_			)


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





def 					__lowercase      (     _A						,    _A			)     ->						int:
      return int((input_a, input_a).count(1			) != 0			)






def 					__lowercase      (     )     ->						None:
      assert or_gate(0						,    0			) == 0
      assert or_gate(0						,    1			) == 1
      assert or_gate(1						,    0			) == 1
      assert or_gate(1						,    1			) == 1


if __name__ == "__main__":
  print(or_gate(0, 1))
  print(or_gate(1, 0))
  print(or_gate(0, 0))
  print(or_gate(1, 1))




