




'''simple docstring'''





from collections import OrderedDict
from typing import Mapping

from ...configuration_utils import PretrainedConfig
from ...onnx import OnnxConfig
from ...utils import logging


_SCREAMING_SNAKE_CASE				:  List[Any] 						=					logging.get_logger(__name__)

_SCREAMING_SNAKE_CASE				:  List[str] 						=					{
    "facebook/xmod-base": "https://huggingface.co/facebook/xmod-base/resolve/main/config.json",
    "facebook/xmod-large-prenorm": "https://huggingface.co/facebook/xmod-large-prenorm/resolve/main/config.json",
    "facebook/xmod-base-13-125k": "https://huggingface.co/facebook/xmod-base-13-125k/resolve/main/config.json",
    "facebook/xmod-base-30-125k": "https://huggingface.co/facebook/xmod-base-30-125k/resolve/main/config.json",
    "facebook/xmod-base-30-195k": "https://huggingface.co/facebook/xmod-base-30-195k/resolve/main/config.json",
    "facebook/xmod-base-60-125k": "https://huggingface.co/facebook/xmod-base-60-125k/resolve/main/config.json",
    "facebook/xmod-base-60-265k": "https://huggingface.co/facebook/xmod-base-60-265k/resolve/main/config.json",
    "facebook/xmod-base-75-125k": "https://huggingface.co/facebook/xmod-base-75-125k/resolve/main/config.json",
    "facebook/xmod-base-75-269k": "https://huggingface.co/facebook/xmod-base-75-269k/resolve/main/config.json",
}




class 					_snake_case						(      lowercase_				):
			lowerCAmelCase_	: Tuple					=       "xmod"




			def __init__(   self							,				a__=30_522							,				a__=768							,				a__=12							,				a__=12							,				a__=3_072							,				a__="gelu"							,				a__=0.1							,				a__=0.1							,				a__=512							,				a__=2							,				a__=0.0_2							,				a__=1e-12							,				a__=1							,				a__=0							,				a__=2							,				a__="absolute"							,				a__=True							,				a__=None							,				a__=False							,				a__=2							,				a__=False							,				a__=True							,				a__=True							,				a__=("en_XX",)							,				a__=None							,				**a__							,				)							->							Optional[Any]:

										'''simple docstring'''




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

										snake_case_         = vocab_size
										snake_case_         = hidden_size
										snake_case_         = num_hidden_layers
										snake_case_         = num_attention_heads
										snake_case_         = hidden_act
										snake_case_         = intermediate_size
										snake_case_         = hidden_dropout_prob
										snake_case_         = attention_probs_dropout_prob
										snake_case_         = max_position_embeddings
										snake_case_         = type_vocab_size
										snake_case_         = initializer_range
										snake_case_         = layer_norm_eps
										snake_case_         = position_embedding_type
										snake_case_         = use_cache
										snake_case_         = classifier_dropout
										snake_case_         = pre_norm
										snake_case_         = adapter_reduction_factor
										snake_case_         = adapter_layer_norm
										snake_case_         = adapter_reuse_layer_norm
										snake_case_         = ln_before_adapter
										snake_case_         = list(a__				)
										snake_case_         = default_language




class 					_snake_case						(      lowercase_				):




			@property
			def   lowerCAmelCase__							(   self				)							->							Mapping[str, Mapping[int, str]]:

										'''simple docstring'''




										if self.task == "multiple-choice":
																	snake_case_         = {0: "batch", 1: "choice", 2: "sequence"}
										else:
																	snake_case_         = {0: "batch", 1: "sequence"}
										return OrderedDict(
										    [
										        ("input_ids", dynamic_axis),
										        ("attention_mask", dynamic_axis),
										    ]				)







def 	a (     A__      :  int	)       -> bool:





      """simple docstring"""



      return sum(i for i in range(1 ,  number // 2 + 1	) if number % i == 0	) == number


if __name__ == "__main__":
  print('Program to check whether a number is a Perfect number or not...')
  lowercase_   							=  int(input('Enter number: ').strip())
  print(f"{number} is {'' if perfect(number) else 'not '}a Perfect Number.")


