
'''simple docstring'''





from math import sqrt





def        snake_case							(		UpperCAmelCase	)->			list[int]:







      """simple docstring"""
      __A       	=			[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        snake_case							(		UpperCAmelCase	)->			bool:







      """simple docstring"""
      return sum(factors(UpperCAmelCase	)	) > n





def        snake_case							(		UpperCAmelCase	)->			bool:







      """simple docstring"""
      __A       	=			factors(UpperCAmelCase	)
      __A       	=			len(UpperCAmelCase	)
      __A       	=			[[0 for i in range(number + 1	)] for j in range(r + 1	)]
      for i in range(r + 1	):
            __A       	=			True

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

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

      return subset[r][number] != 0





def        snake_case							(		UpperCAmelCase	)->			bool:







      """simple docstring"""
      return abundant(UpperCAmelCase	) and not semi_perfect(UpperCAmelCase	)


if __name__ == "__main__":
 import doctest

 doctest.testmod(verbose=True)
 for number in (6_9, 7_0, 7_1):
  print(f'''{number} is {'' if weird(number) else 'not '}weird.''')








'''simple docstring'''





from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_torch_available,
    is_vision_available,
)


a__		:   Optional[Any]            =       {
    "configuration_mobilevitv2": [
        "MOBILEVITV2_PRETRAINED_CONFIG_ARCHIVE_MAP",
        "MobileViTV2Config",
        "MobileViTV2OnnxConfig",
    ],
}


try:
 if not is_torch_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 a__		:   Optional[int]            =       [
     "MOBILEVITV2_PRETRAINED_MODEL_ARCHIVE_LIST",
     "MobileViTV2ForImageClassification",
     "MobileViTV2ForSemanticSegmentation",
     "MobileViTV2Model",
     "MobileViTV2PreTrainedModel",
 ]

if TYPE_CHECKING:
 from .configuration_mobilevitva import (
     MOBILEVITV2_PRETRAINED_CONFIG_ARCHIVE_MAP,
     MobileViTVaConfig,
     MobileViTVaOnnxConfig,
 )

 try:
  if not is_torch_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_mobilevitva import (
      MOBILEVITV2_PRETRAINED_MODEL_ARCHIVE_LIST,
      MobileViTVaForImageClassification,
      MobileViTVaForSemanticSegmentation,
      MobileViTVaModel,
      MobileViTVaPreTrainedModel,
  )

else:
 import sys

 a__		:   List[str]            =       _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)






