
"""simple docstring"""


def        lowerCAmelCase_       (		snake_case_		:      int = 2_0      )       ->int:

			try:
						lowerCamelCase__     :					Dict		=int(snake_case_      )
			except (TypeError, ValueError):
						raise TypeError('Parameter n must be int or castable to int.'      )
			if n <= 0:
						raise ValueError('Parameter n must be greater than or equal to one.'      )
			lowerCamelCase__     :					Union[str, Any]		=0
			while 1:
						i += n * (n - 1)
						lowerCamelCase__     :					Optional[int]		=0
						for j in range(2							,   snake_case_      ):
									if i % j != 0:
												lowerCamelCase__     :					Any		=1
												break
						if nfound == 0:
									if i == 0:
												lowerCamelCase__     :					Optional[Any]		=1
									return i
			return None


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

"""simple docstring"""


from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


lowerCAmelCase								=						{
    """configuration_decision_transformer""": [
        """DECISION_TRANSFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP""",
        """DecisionTransformerConfig""",
    ],
}

try:
							if not is_torch_available():
														raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
							pass
else:
							lowerCAmelCase								=						[
							    """DECISION_TRANSFORMER_PRETRAINED_MODEL_ARCHIVE_LIST""",
							    """DecisionTransformerGPT2Model""",
							    """DecisionTransformerGPT2PreTrainedModel""",
							    """DecisionTransformerModel""",
							    """DecisionTransformerPreTrainedModel""",
							]


if TYPE_CHECKING:
							from .configuration_decision_transformer import (
							    DECISION_TRANSFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP,
							    DecisionTransformerConfig,
							)

							try:
														if not is_torch_available():
																					raise OptionalDependencyNotAvailable()
							except OptionalDependencyNotAvailable:
														pass
							else:
														from .modeling_decision_transformer import (
														    DECISION_TRANSFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
														    DecisionTransformerGPTaModel,
														    DecisionTransformerGPTaPreTrainedModel,
														    DecisionTransformerModel,
														    DecisionTransformerPreTrainedModel,
														)


else:
							import sys

							lowerCAmelCase								=						_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)