


'''simple docstring'''




from __future__ import annotations

from fractions import Fraction


def    UpperCAmelCase_  (       A		,	A      ):
   '''simple docstring'''





   return (
       num != den and num % 1_0 == den // 1_0 and (num // 1_0) / (den % 1_0) == num / den
   )


def    UpperCAmelCase_  (       A      ):
   '''simple docstring'''





   _a					:  Optional[Any]						=  []
   _a					:  int						=  1_1
   _a					:  str						=  int('1' + '0' * digit_len      )
   for num in range(A		,	A      ):
      while den <= 9_9:
         if (num != den) and (num % 1_0 == den // 1_0) and (den % 1_0 != 0):
            if is_digit_cancelling(A		,	A      ):
               solutions.append(f'''{num}/{den}'''      )
         den += 1
      num += 1
      _a					:  List[Any]						=  1_0
   return solutions


def    UpperCAmelCase_  (       A = 2      ):
   '''simple docstring'''





   _a					:  Optional[Any]						=  1.0
   for fraction in fraction_list(A      ):
      _a					:  int						=  Fraction(A      )
      result *= frac.denominator / frac.numerator
   return int(A      )


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






'''simple docstring'''




import warnings

from ...utils import logging
from .image_processing_perceiver import PerceiverImageProcessor


UpperCAmelCase_      :		Tuple          =		logging.get_logger(__name__)







class 					a			(				snake_case__  ):
 '''simple docstring'''




 def __init__(    self		,      *lowerCamelCase_		,      **lowerCamelCase_      )      ->    None:
    warnings.warn(
        'The class PerceiverFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
        ' Please use PerceiverImageProcessor instead.'		,      lowerCamelCase_		,      )
    super().__init__(*lowerCamelCase_		,      **lowerCamelCase_      )


