






"""simple docstring"""
from ...utils import logging
from ..ta.modeling_tf_ta import TFTaEncoderModel, TFTaForConditionalGeneration, TFTaModel
from .configuration_mta import MTaConfig


snake_case : Tuple     		=		logging.get_logger(__name__)

snake_case : Union[str, Any]     		=		"""T5Config"""



class        UpperCamelCase__ (				a_):







    """simple docstring"""
    __UpperCAmelCase           = """mt5"""
    __UpperCAmelCase           = MTaConfig



class        UpperCamelCase__ (				a_):







    """simple docstring"""
    __UpperCAmelCase           = """mt5"""
    __UpperCAmelCase           = MTaConfig



class        UpperCamelCase__ (				a_):







    """simple docstring"""
    __UpperCAmelCase           = """mt5"""
    __UpperCAmelCase           = MTaConfig







"""simple docstring"""
def 							A						(				__snake_case: int = 3 ,     __snake_case: int = 7 ,     __snake_case: int = 1_0_0_0_0_0_0  )    ->		int:

       """simple docstring"""





       __magic_name__      				=    0
       __magic_name__      				=    1

       for current_denominator in range(1 ,     limit + 1  ):
              __magic_name__      				=    current_denominator * numerator // denominator
              if current_denominator % denominator == 0:
                     current_numerator -= 1
              if current_numerator * max_denominator > current_denominator * max_numerator:
                     __magic_name__      				=    current_numerator
                     __magic_name__      				=    current_denominator
       return max_numerator


if __name__ == "__main__":
 print(solution(numerator=3, denominator=7, limit=1_0_0_0_0_0_0))