



from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


a_   :Any        =      {
    "configuration_nllb_moe": [
        "NLLB_MOE_PRETRAINED_CONFIG_ARCHIVE_MAP",
        "NllbMoeConfig",
    ]
}

try:
 if not is_torch_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 a_   :str        =      [
     "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

 a_   :Optional[int]        =      _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)












def 				lowerCAmelCase_	(     snake_case_     ):
      if n_term == "":
            return []
      _A							:     list			=						[]
      for temp in range(int(snake_case_     )     ):
            series.append(f'''1/{temp + 1}''' if series else """1"""     )
      return series


if __name__ == "__main__":
  _snake_case										=       input("Enter the last number (nth term) of the Harmonic Series")
  print("Formula of Harmonic Series => 1+1/2+1/3 ..... 1/n")
  print(harmonic_series(nth_term))

