"""simple docstring"""


from math import sqrt







def    UpperCAmelCase       (						UpperCAmelCase   )							-> list[int]:
     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    UpperCAmelCase       (						UpperCAmelCase   )							-> bool:
     return sum(factors(UpperCAmelCase   )   ) > n







def    UpperCAmelCase       (						UpperCAmelCase   )							-> bool:
     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    UpperCAmelCase       (						UpperCAmelCase   )							-> bool:
     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 ...configuration_utils import PretrainedConfig
from ...utils import logging


__UpperCamelCase										=     logging.get_logger(__name__)

__UpperCamelCase										=     {
    '''tau/splinter-base''': '''https://huggingface.co/tau/splinter-base/resolve/main/config.json''',
    '''tau/splinter-base-qass''': '''https://huggingface.co/tau/splinter-base-qass/resolve/main/config.json''',
    '''tau/splinter-large''': '''https://huggingface.co/tau/splinter-large/resolve/main/config.json''',
    '''tau/splinter-large-qass''': '''https://huggingface.co/tau/splinter-large-qass/resolve/main/config.json''',
    # See all Splinter models at https://huggingface.co/models?filter=splinter
}




class 					UpperCamelCase   (							lowerCAmelCase__  ):
       SCREAMING_SNAKE_CASE_						      = "splinter"







       def __init__(					self,				lowerCAmelCase__=3_0522,				lowerCAmelCase__=768,				lowerCAmelCase__=12,				lowerCAmelCase__=12,				lowerCAmelCase__=3072,				lowerCAmelCase__="gelu",				lowerCAmelCase__=0.1,				lowerCAmelCase__=0.1,				lowerCAmelCase__=512,				lowerCAmelCase__=2,				lowerCAmelCase__=0.02,				lowerCAmelCase__=1e-12,				lowerCAmelCase__=True,				lowerCAmelCase__=0,				lowerCAmelCase__=104,				**lowerCAmelCase__,				) -> Dict:
            super().__init__(pad_token_id=lowerCAmelCase__,				**lowerCAmelCase__)

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

