




from collections import OrderedDict
from typing import Mapping

from packaging import version

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


lowercase__							:	Dict											=		logging.get_logger(__name__)

lowercase__							:	List[str]											=		{
    "microsoft/beit-base-patch16-224-pt22k": (
        "https://huggingface.co/microsoft/beit-base-patch16-224-pt22k/resolve/main/config.json"
    ),
    # See all BEiT models at https://huggingface.co/models?filter=beit
}
class 						UpperCAmelCase  (							UpperCAmelCase__     ):







						'''simple docstring'''





						lowerCAmelCase_							=  '''beit'''






						def __init__(		self				:	Optional[Any]			,      __lowercase				:	Optional[Any]=81_92			,      __lowercase				:	Dict=7_68			,      __lowercase				:	Tuple=12			,      __lowercase				:	int=12			,      __lowercase				:	Union[str, Any]=30_72			,      __lowercase				:	Optional[int]="gelu"			,      __lowercase				:	Union[str, Any]=0.0			,      __lowercase				:	Optional[int]=0.0			,      __lowercase				:	str=0.02			,      __lowercase				:	Optional[Any]=1E-12			,      __lowercase				:	Dict=2_24			,      __lowercase				:	List[Any]=16			,      __lowercase				:	int=3			,      __lowercase				:	str=False			,      __lowercase				:	Dict=False			,      __lowercase				:	Optional[int]=False			,      __lowercase				:	Optional[Any]=False			,      __lowercase				:	Optional[Any]=0.1			,      __lowercase				:	Union[str, Any]=0.1			,      __lowercase				:	List[str]=True			,      __lowercase				:	Dict=[3, 5, 7, 11]			,      __lowercase				:	Union[str, Any]=[1, 2, 3, 6]			,      __lowercase				:	Dict=True			,      __lowercase				:	str=0.4			,      __lowercase				:	List[str]=2_56			,      __lowercase				:	Tuple=1			,      __lowercase				:	Any=False			,      __lowercase				:	List[Any]=2_55			,      **__lowercase				:	int			,      ):






							"""simple docstring"""






							super().__init__(**__lowercase		)

							snake_case_						       =	vocab_size
							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_						       =	layer_norm_eps

							snake_case_						       =	image_size
							snake_case_						       =	patch_size
							snake_case_						       =	num_channels
							snake_case_						       =	use_mask_token
							snake_case_						       =	use_absolute_position_embeddings
							snake_case_						       =	use_relative_position_bias
							snake_case_						       =	use_shared_relative_position_bias
							snake_case_						       =	layer_scale_init_value
							snake_case_						       =	drop_path_rate
							snake_case_						       =	use_mean_pooling
							# decode head attributes (semantic segmentation)
							snake_case_						       =	out_indices
							snake_case_						       =	pool_scales
							# auxiliary head attributes (semantic segmentation)
							snake_case_						       =	use_auxiliary_head
							snake_case_						       =	auxiliary_loss_weight
							snake_case_						       =	auxiliary_channels
							snake_case_						       =	auxiliary_num_convs
							snake_case_						       =	auxiliary_concat_input
							snake_case_						       =	semantic_loss_ignore_index







class 						UpperCAmelCase  (							UpperCAmelCase__     ):







						'''simple docstring'''





						lowerCAmelCase_							=  version.parse('''1.11'''     )






						@property
						def 			snake_case__		(		self				:	Union[str, Any]		):






							"""simple docstring"""






							return OrderedDict(
							    [
							        ("pixel_values", {0: "batch", 1: "num_channels", 2: "height", 3: "width"}),
							    ]		)






						@property
						def 			snake_case__		(		self				:	List[str]		):






							"""simple docstring"""






							return 1E-4






def 		lowerCamelCase__       (						_A				):







	'''simple docstring'''





	snake_case_						       =	1
	for i in range(1	,      num + 1				):
		fact *= i
	return fact


def 		lowerCamelCase__       (						_A				):







	'''simple docstring'''





	snake_case_						       =	0
	while number > 0:
		snake_case_						       =	number % 10
		sum_of_digits += last_digit
		snake_case_						       =	number // 10  # Removing the last_digit from the given number
	return sum_of_digits


def 		lowerCamelCase__       (						_A = 100				):







	'''simple docstring'''





	snake_case_						       =	factorial(_A				)
	snake_case_						       =	split_and_add(_A				)
	return result


if __name__ == "__main__":
		print(solution(int(input("Enter the Number: ").strip())))
