


from __future__ import annotations

from fractions import Fraction
def   _UpperCamelCase				(						lowerCAmelCase_  ,						lowerCAmelCase_   )						->List[Any]:
   return (
       num != den and num % 1_0 == den // 1_0 and (num // 1_0) / (den % 1_0) == num / den
   )
def   _UpperCamelCase				(						lowerCAmelCase_   )						->Optional[int]:
   UpperCAmelCase							=     []
   UpperCAmelCase							=     1_1
   UpperCAmelCase							=     int("""1""" + """0""" * digit_len   )
   for num in range(_snake_case  ,						_snake_case   ):
      while den <= 9_9:
         if (num != den) and (num % 1_0 == den // 1_0) and (den % 1_0 != 0):
            if is_digit_cancelling(_snake_case  ,						_snake_case   ):
               solutions.append(F"""{num}/{den}"""   )
         den += 1
      num += 1
      UpperCAmelCase							=     1_0
   return solutions
def   _UpperCamelCase				(						lowerCAmelCase_ = 2   )						->str:
   UpperCAmelCase							=     1.0
   for fraction in fraction_list(_snake_case   ):
      UpperCAmelCase							=     Fraction(_snake_case   )
      result *= frac.denominator / frac.numerator
   return int(_snake_case   )


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








from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


__a     =			{"""configuration_ibert""": ["""IBERT_PRETRAINED_CONFIG_ARCHIVE_MAP""", """IBertConfig""", """IBertOnnxConfig"""]}

try:
 if not is_torch_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 __a     =			[
     """IBERT_PRETRAINED_MODEL_ARCHIVE_LIST""",
     """IBertForMaskedLM""",
     """IBertForMultipleChoice""",
     """IBertForQuestionAnswering""",
     """IBertForSequenceClassification""",
     """IBertForTokenClassification""",
     """IBertModel""",
     """IBertPreTrainedModel""",
 ]

if TYPE_CHECKING:
 from .configuration_ibert import IBERT_PRETRAINED_CONFIG_ARCHIVE_MAP, IBertConfig, IBertOnnxConfig

 try:
  if not is_torch_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_ibert import (
      IBERT_PRETRAINED_MODEL_ARCHIVE_LIST,
      IBertForMaskedLM,
      IBertForMultipleChoice,
      IBertForQuestionAnswering,
      IBertForSequenceClassification,
      IBertForTokenClassification,
      IBertModel,
      IBertPreTrainedModel,
  )

else:
 import sys

 __a     =			_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)



