

'''simple docstring'''

from math import sqrt





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





def 				A_					(	snake_case	):
  return sum(factors(snake_case	)	) > n





def 				A_					(	snake_case	):
  SCREAMING_SNAKE_CASE:Tuple   =   factors(snake_case	)
  SCREAMING_SNAKE_CASE:Union[str, Any]   =   len(snake_case	)
  SCREAMING_SNAKE_CASE:int   =   [[0 for i in range(number + 1	)] for j in range(r + 1	)]
  for i in range(r + 1	):
    SCREAMING_SNAKE_CASE:List[Any]   =   True

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

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

  return subset[r][number] != 0





def 				A_					(	snake_case	):
  return abundant(snake_case	) and not semi_perfect(snake_case	)


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_tokenizers_available, is_torch_available


A_      =							{"configuration_yoso": ["YOSO_PRETRAINED_CONFIG_ARCHIVE_MAP", "YosoConfig"]}

try:
    if not is_torch_available():
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    pass
else:
    A_      =							[
        "YOSO_PRETRAINED_MODEL_ARCHIVE_LIST",
        "YosoForMaskedLM",
        "YosoForMultipleChoice",
        "YosoForQuestionAnswering",
        "YosoForSequenceClassification",
        "YosoForTokenClassification",
        "YosoLayer",
        "YosoModel",
        "YosoPreTrainedModel",
    ]


if TYPE_CHECKING:
    from .configuration_yoso import YOSO_PRETRAINED_CONFIG_ARCHIVE_MAP, YosoConfig

    try:
        if not is_torch_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass
    else:
        from .modeling_yoso import (
            YOSO_PRETRAINED_MODEL_ARCHIVE_LIST,
            YosoForMaskedLM,
            YosoForMultipleChoice,
            YosoForQuestionAnswering,
            YosoForSequenceClassification,
            YosoForTokenClassification,
            YosoLayer,
            YosoModel,
            YosoPreTrainedModel,
        )


else:
    import sys

    A_      =							_LazyModule(__name__, globals()["__file__"], _import_structure)






