"""simple docstring"""
from math import sqrt





def  lowerCAmelCase__     (      _UpperCamelCase							:					int       )       ->					list[int]:





						"""simple docstring"""






						snake_case             =      [1]
						for i in range(2			,      int(sqrt(_UpperCamelCase       )       ) + 1			,      1       ):
												if number % i == 0:
																		values.append(_UpperCamelCase       )
																		if int(number // i       ) != i:
																								values.append(int(number // i       )       )
						return sorted(_UpperCamelCase       )





def  lowerCAmelCase__     (      _UpperCamelCase							:					int       )       ->					bool:





						"""simple docstring"""






						return sum(factors(_UpperCamelCase       )       ) > n





def  lowerCAmelCase__     (      _UpperCamelCase							:					int       )       ->					bool:





						"""simple docstring"""






						snake_case             =      factors(_UpperCamelCase       )
						snake_case             =      len(_UpperCamelCase       )
						snake_case             =      [[0 for i in range(number + 1       )] for j in range(r + 1       )]
						for i in range(r + 1       ):
												snake_case             =      True

						for i in range(1			,      number + 1       ):
												snake_case             =      False

						for i in range(1			,      r + 1       ):
												for j in range(1			,      number + 1       ):
																		if j < values[i - 1]:
																								snake_case             =      subset[i - 1][j]
																		else:
																								snake_case             =      subset[i - 1][j] or subset[i - 1][j - values[i - 1]]

						return subset[r][number] != 0





def  lowerCAmelCase__     (      _UpperCamelCase							:					int       )       ->					bool:





						"""simple docstring"""






						return abundant(_UpperCamelCase       ) and not semi_perfect(_UpperCamelCase       )


if __name__ == "__main__":
					import doctest

					doctest.testmod(verbose=True)
					for number in (69, 70, 71):
										print(f"""{number} is {'' if weird(number) else 'not '}weird.""")



"""simple docstring"""
from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_flax_available,
    is_sentencepiece_available,
    is_tf_available,
    is_tokenizers_available,
    is_torch_available,
)


SCREAMING_SNAKE_CASE__       =	{
    "configuration_marian": ["MARIAN_PRETRAINED_CONFIG_ARCHIVE_MAP", "MarianConfig", "MarianOnnxConfig"],
}

try:
					if not is_sentencepiece_available():
										raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
					pass
else:
					SCREAMING_SNAKE_CASE__       =	["MarianTokenizer"]

try:
					if not is_torch_available():
										raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
					pass
else:
					SCREAMING_SNAKE_CASE__       =	[
					    "MARIAN_PRETRAINED_MODEL_ARCHIVE_LIST",
					    "MarianForCausalLM",
					    "MarianModel",
					    "MarianMTModel",
					    "MarianPreTrainedModel",
					]

try:
					if not is_tf_available():
										raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
					pass
else:
					SCREAMING_SNAKE_CASE__       =	["TFMarianModel", "TFMarianMTModel", "TFMarianPreTrainedModel"]

try:
					if not is_flax_available():
										raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
					pass
else:
					SCREAMING_SNAKE_CASE__       =	["FlaxMarianModel", "FlaxMarianMTModel", "FlaxMarianPreTrainedModel"]

if TYPE_CHECKING:
					from .configuration_marian import MARIAN_PRETRAINED_CONFIG_ARCHIVE_MAP, MarianConfig, MarianOnnxConfig

					try:
										if not is_sentencepiece_available():
															raise OptionalDependencyNotAvailable()
					except OptionalDependencyNotAvailable:
										pass
					else:
										from .tokenization_marian import MarianTokenizer

					try:
										if not is_torch_available():
															raise OptionalDependencyNotAvailable()
					except OptionalDependencyNotAvailable:
										pass
					else:
										from .modeling_marian import (
										    MARIAN_PRETRAINED_MODEL_ARCHIVE_LIST,
										    MarianForCausalLM,
										    MarianModel,
										    MarianMTModel,
										    MarianPreTrainedModel,
										)

					try:
										if not is_tf_available():
															raise OptionalDependencyNotAvailable()
					except OptionalDependencyNotAvailable:
										pass
					else:
										from .modeling_tf_marian import TFMarianModel, TFMarianMTModel, TFMarianPreTrainedModel

					try:
										if not is_flax_available():
															raise OptionalDependencyNotAvailable()
					except OptionalDependencyNotAvailable:
										pass
					else:
										from .modeling_flax_marian import FlaxMarianModel, FlaxMarianMTModel, FlaxMarianPreTrainedModel

else:
					import sys

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


