"""simple docstring"""






from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_tensorflow_text_available, is_torch_available


__lowerCAmelCase       :			Union[str, Any]   	={
    """configuration_ernie""": ["""ERNIE_PRETRAINED_CONFIG_ARCHIVE_MAP""", """ErnieConfig""", """ErnieOnnxConfig"""],
}

try:
       if not is_torch_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       __lowerCAmelCase       :			int   	=[
           """ERNIE_PRETRAINED_MODEL_ARCHIVE_LIST""",
           """ErnieForCausalLM""",
           """ErnieForMaskedLM""",
           """ErnieForMultipleChoice""",
           """ErnieForNextSentencePrediction""",
           """ErnieForPreTraining""",
           """ErnieForQuestionAnswering""",
           """ErnieForSequenceClassification""",
           """ErnieForTokenClassification""",
           """ErnieModel""",
           """ErniePreTrainedModel""",
       ]

if TYPE_CHECKING:
       from .configuration_ernie import ERNIE_PRETRAINED_CONFIG_ARCHIVE_MAP, ErnieConfig, ErnieOnnxConfig

       try:
              if not is_torch_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .modeling_ernie import (
                  ERNIE_PRETRAINED_MODEL_ARCHIVE_LIST,
                  ErnieForCausalLM,
                  ErnieForMaskedLM,
                  ErnieForMultipleChoice,
                  ErnieForNextSentencePrediction,
                  ErnieForPreTraining,
                  ErnieForQuestionAnswering,
                  ErnieForSequenceClassification,
                  ErnieForTokenClassification,
                  ErnieModel,
                  ErniePreTrainedModel,
              )

else:
       import sys

       __lowerCAmelCase       :			Any   	=_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)





"""simple docstring"""






def      lowerCAmelCase__			(		__magic_name__ = 1_0      )						->str:
			if not isinstance(__magic_name__			,   __magic_name__      ) or n < 0:
						raise ValueError("Invalid input"      )
			__lowercase       =       1_0**n
			__lowercase       =       2_8_4_3_3 * (pow(2			,   7_8_3_0_4_5_7			,   __magic_name__      )) + 1
			return str(number % modulus      )


if __name__ == "__main__":
					from doctest import testmod

					testmod()
					print(F"{solution(10) = }")





