



"""simple docstring"""

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


A_	:						Optional[int]				=   logging.get_logger(__name__)

A_	:						List[str]				=   {
    '''MBZUAI/swiftformer-xs''': '''https://huggingface.co/MBZUAI/swiftformer-xs/resolve/main/config.json''',
}
class 						lowerCAmelCase__	(  UpperCamelCase_   ):


	'''simple docstring'''







	_SCREAMING_SNAKE_CASE  :		Tuple     	=   """swiftformer"""





	def __init__(			self							:					Dict    ,					_SCREAMING_SNAKE_CASE							:					int=3    ,					_SCREAMING_SNAKE_CASE							:					int=[3, 3, 6, 4]    ,					_SCREAMING_SNAKE_CASE							:					List[str]=[48, 56, 112, 220]    ,					_SCREAMING_SNAKE_CASE							:					Dict=4    ,					_SCREAMING_SNAKE_CASE							:					Dict=[True, True, True, True]    ,					_SCREAMING_SNAKE_CASE							:					List[Any]="gelu"    ,					_SCREAMING_SNAKE_CASE							:					Tuple=3    ,					_SCREAMING_SNAKE_CASE							:					List[str]=2    ,					_SCREAMING_SNAKE_CASE							:					Any=1    ,					_SCREAMING_SNAKE_CASE							:					Union[str, Any]=0.0    ,					_SCREAMING_SNAKE_CASE							:					Dict=True    ,					_SCREAMING_SNAKE_CASE							:					Optional[int]=1E-5    ,					_SCREAMING_SNAKE_CASE							:					Union[str, Any]=1E-5    ,					**_SCREAMING_SNAKE_CASE							:					Any    ,					)	->  Dict:





					"""simple docstring"""


					super().__init__(**__SCREAMING_SNAKE_CASE						)
					SCREAMING_SNAKE_CASE	:       List[Any] 							=    num_channels
					SCREAMING_SNAKE_CASE	:       List[Any] 							=    depths
					SCREAMING_SNAKE_CASE	:       Union[str, Any] 							=    embed_dims
					SCREAMING_SNAKE_CASE	:       int 							=    mlp_ratio
					SCREAMING_SNAKE_CASE	:       List[Any] 							=    downsamples
					SCREAMING_SNAKE_CASE	:       Dict 							=    hidden_act
					SCREAMING_SNAKE_CASE	:       int 							=    down_patch_size
					SCREAMING_SNAKE_CASE	:       str 							=    down_stride
					SCREAMING_SNAKE_CASE	:       Optional[int] 							=    down_pad
					SCREAMING_SNAKE_CASE	:       str 							=    drop_path_rate
					SCREAMING_SNAKE_CASE	:       Optional[Any] 							=    use_layer_scale
					SCREAMING_SNAKE_CASE	:       Optional[Any] 							=    layer_scale_init_value
					SCREAMING_SNAKE_CASE	:       Any 							=    batch_norm_eps




class 						lowerCAmelCase__	(  UpperCamelCase_   ):


	'''simple docstring'''







	_SCREAMING_SNAKE_CASE  :		List[Any]     	=   version.parse('''1.11'''   )





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





					"""simple docstring"""


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







	@property
	def  _lowerCAmelCase    (			self							:					Any						)	->  float:





					"""simple docstring"""


					return 1E-4










"""simple docstring"""

def    __snake_case       (  __A			:	int = 100    )    ->					int:






				'''simple docstring'''
				SCREAMING_SNAKE_CASE	:       Any 							=    1
				SCREAMING_SNAKE_CASE	:       Optional[int] 							=    0
				for i in range(1       ,		num + 1    ):
								fact *= i

				for j in str(__A    ):
								result += int(__A    )

				return result


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





