

"""simple docstring"""




from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


_lowercase   :	Union[str, Any]												=						{
    'configuration_nllb_moe': [
        'NLLB_MOE_PRETRAINED_CONFIG_ARCHIVE_MAP',
        'NllbMoeConfig',
    ]
}

try:
				if not is_torch_available():
								raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
				pass
else:
				_lowercase   :	int												=						[
				    'NLLB_MOE_PRETRAINED_MODEL_ARCHIVE_LIST',
				    'NllbMoeForConditionalGeneration',
				    'NllbMoeModel',
				    'NllbMoePreTrainedModel',
				    'NllbMoeTop2Router',
				    'NllbMoeSparseMLP',
				]


if TYPE_CHECKING:
				from .configuration_nllb_moe import (
				    NLLB_MOE_PRETRAINED_CONFIG_ARCHIVE_MAP,
				    NllbMoeConfig,
				)

				try:
								if not is_torch_available():
												raise OptionalDependencyNotAvailable()
				except OptionalDependencyNotAvailable:
								pass
				else:
								from .modeling_nllb_moe import (
								    NLLB_MOE_PRETRAINED_MODEL_ARCHIVE_LIST,
								    NllbMoeForConditionalGeneration,
								    NllbMoeModel,
								    NllbMoePreTrainedModel,
								    NllbMoeSparseMLP,
								    NllbMoeTopaRouter,
								)


else:
				import sys

				_lowercase   :	str												=						_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)








def       _SCREAMING_SNAKE_CASE (							__snake_case = 1_0_0_0 )				->						int:
       _UpperCAmelCase	,			_UpperCAmelCase							=    1, 1
       _UpperCAmelCase							=    []
       for i in range(1   ,      n + 1 ):
              _UpperCAmelCase							=    prev_numerator + 2 * prev_denominator
              _UpperCAmelCase							=    prev_numerator + prev_denominator
              if len(str(__snake_case ) ) > len(str(__snake_case ) ):
                     result.append(__snake_case )
              _UpperCAmelCase							=    numerator
              _UpperCAmelCase							=    denominator

       return len(__snake_case )


if __name__ == "__main__":
  print(F"{solution() = }")