from math import sqrt


def       a__      (					a							)		->	list[int]:
       A_							:       Optional[int]	      =				[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       a__      (					a							)		->	bool:
       return sum(factors(UpperCamelCase_							)							) > n


def       a__      (					a							)		->	bool:
       A_							:       List[str]	      =				factors(UpperCamelCase_							)
       A_							:       List[str]	      =				len(UpperCamelCase_							)
       A_							:       List[str]	      =				[[0 for i in range(number + 1							)] for j in range(r + 1							)]
       for i in range(r + 1							):
              A_							:       Union[str, Any]	      =				True

       for i in range(1  ,   number + 1							):
              A_							:       Optional[Any]	      =				False

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

       return subset[r][number] != 0


def       a__      (					a							)		->	bool:
       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.')









from ...configuration_utils import PretrainedConfig
from ...utils import logging


_UpperCAmelCase										=					logging.get_logger(__name__)

_UpperCAmelCase										=					{
    'bert-base-uncased': 'https://huggingface.co/bert-base-uncased/resolve/main/config.json',
    # QDQBERT models can be loaded from any BERT checkpoint, available at https://huggingface.co/models?filter=bert
}



class 				_UpperCamelCase       (						lowerCAmelCase_  ):
       _UpperCamelCase					:       Union[str, Any]       = '''qdqbert'''

       def __init__(		self:			Union[str, Any]       , _SCREAMING_SNAKE_CASE:			Any=30522       , _SCREAMING_SNAKE_CASE:			List[str]=768       , _SCREAMING_SNAKE_CASE:			int=12       , _SCREAMING_SNAKE_CASE:			List[Any]=12       , _SCREAMING_SNAKE_CASE:			Union[str, Any]=3072       , _SCREAMING_SNAKE_CASE:			List[str]="gelu"       , _SCREAMING_SNAKE_CASE:			List[Any]=0.1       , _SCREAMING_SNAKE_CASE:			List[Any]=0.1       , _SCREAMING_SNAKE_CASE:			Dict=512       , _SCREAMING_SNAKE_CASE:			Union[str, Any]=2       , _SCREAMING_SNAKE_CASE:			int=0.02       , _SCREAMING_SNAKE_CASE:			Union[str, Any]=1e-12       , _SCREAMING_SNAKE_CASE:			str=True       , _SCREAMING_SNAKE_CASE:			Any=1       , _SCREAMING_SNAKE_CASE:			int=0       , _SCREAMING_SNAKE_CASE:			Tuple=2       , **_SCREAMING_SNAKE_CASE:			List[str]       , )							->			Tuple:




              """simple docstring"""


              super().__init__(pad_token_id=_SCREAMING_SNAKE_CASE       , bos_token_id=_SCREAMING_SNAKE_CASE       , eos_token_id=_SCREAMING_SNAKE_CASE       , **_SCREAMING_SNAKE_CASE		)

              UpperCamelCase_ 							=	vocab_size
              UpperCamelCase_ 							=	max_position_embeddings
              UpperCamelCase_ 							=	hidden_size
              UpperCamelCase_ 							=	num_hidden_layers
              UpperCamelCase_ 							=	num_attention_heads
              UpperCamelCase_ 							=	intermediate_size
              UpperCamelCase_ 							=	hidden_act
              UpperCamelCase_ 							=	hidden_dropout_prob
              UpperCamelCase_ 							=	attention_probs_dropout_prob
              UpperCamelCase_ 							=	initializer_range
              UpperCamelCase_ 							=	type_vocab_size
              UpperCamelCase_ 							=	layer_norm_eps
              UpperCamelCase_ 							=	use_cache

