
from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


__lowerCamelCase								=					{'configuration_nat': ['NAT_PRETRAINED_CONFIG_ARCHIVE_MAP', 'NatConfig']}


try:
				if not is_torch_available():
								raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
				pass
else:
				__lowerCamelCase								=					[
				    'NAT_PRETRAINED_MODEL_ARCHIVE_LIST',
				    'NatForImageClassification',
				    'NatModel',
				    'NatPreTrainedModel',
				    'NatBackbone',
				]

if TYPE_CHECKING:
				from .configuration_nat import NAT_PRETRAINED_CONFIG_ARCHIVE_MAP, NatConfig

				try:
								if not is_torch_available():
												raise OptionalDependencyNotAvailable()
				except OptionalDependencyNotAvailable:
								pass
				else:
								from .modeling_nat import (
								    NAT_PRETRAINED_MODEL_ARCHIVE_LIST,
								    NatBackbone,
								    NatForImageClassification,
								    NatModel,
								    NatPreTrainedModel,
								)

else:
				import sys

				__lowerCamelCase								=					_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)






import math




def 		lowerCAmelCase_     (     _SCREAMING_SNAKE_CASE  )   ->      list[int]:

							"""simple docstring"""






							if not isinstance(_SCREAMING_SNAKE_CASE      ,	_SCREAMING_SNAKE_CASE  ):
														_UpperCAmelCase  :			Optional[Any]	       =		F"""Input value of [number={number}] must be an integer"""
														raise TypeError(_SCREAMING_SNAKE_CASE  )
							if number < 1:
														_UpperCAmelCase  :			Dict	       =		F"""Input value of [number={number}] must be a positive integer"""
														raise ValueError(_SCREAMING_SNAKE_CASE  )
							_UpperCAmelCase  :			List[Any]	       =		[number]
							while number != 1:
														if number % 2 == 0:
																					_UpperCAmelCase  :			List[str]	       =		math.floor(math.sqrt(_SCREAMING_SNAKE_CASE  )  )
														else:
																					_UpperCAmelCase  :			Dict	       =		math.floor(
																					    math.sqrt(_SCREAMING_SNAKE_CASE  ) * math.sqrt(_SCREAMING_SNAKE_CASE  ) * math.sqrt(_SCREAMING_SNAKE_CASE  )  )
														sequence.append(_SCREAMING_SNAKE_CASE  )
							return sequence


if __name__ == "__main__":
				import doctest

				doctest.testmod()




