

"""simple docstring"""




from __future__ import annotations

from fractions import Fraction
def   lowerCAmelCase						(					__UpperCamelCase							,    __UpperCamelCase      ):
 '''simple docstring'''





 return (
     num != den and num % 10 == den // 10 and (num // 10) / (den % 10) == num / den
 )
def   lowerCAmelCase						(					__UpperCamelCase      ):
 '''simple docstring'''





 UpperCAmelCase__					:  Union[str, Any]					   =					[]
 UpperCAmelCase__					:  Optional[Any]					   =					11
 UpperCAmelCase__					:  List[Any]					   =					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
  UpperCAmelCase__					:  Union[str, Any]					   =					10
 return solutions
def   lowerCAmelCase						(					__UpperCamelCase = 2      ):
 '''simple docstring'''





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


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








"""simple docstring"""




from ...configuration_utils import PretrainedConfig
from ...utils import logging


__UpperCAmelCase =				logging.get_logger(__name__)







class      __lowercase			(    __lowerCamelCase					):
  snake_case_				       =       """timm_backbone"""

  def __init__(  self		:			List[str]					,A		:			Any=None					,A		:			List[Any]=3					,A		:			Any=True					,A		:			Union[str, Any]=True					,A		:			List[Any]=None					,**A		:			Optional[int]					,):






   '''simple docstring'''
   super().__init__(**A    )
   UpperCAmelCase__					:  Optional[int]					   =					backbone
   UpperCAmelCase__					:  Dict					   =					num_channels
   UpperCAmelCase__					:  Optional[int]					   =					features_only
   UpperCAmelCase__					:  Tuple					   =					use_pretrained_backbone
   UpperCAmelCase__					:  str					   =					True
   UpperCAmelCase__					:  List[str]					   =					out_indices if out_indices is not None else (-1,)





