



'''simple docstring'''

from ...configuration_utils import PretrainedConfig
from ...utils import logging
from ...utils.backbone_utils import BackboneConfigMixin, get_aligned_output_features_output_indices


snake_case_			=     logging.get_logger(__name__)

snake_case_			=     {
    """google/bit-50""": """https://huggingface.co/google/bit-50/resolve/main/config.json""",
}


class 	a__     (				_lowercase,			_lowercase	):
	__magic_name__		:    int	    =     "bit"
	__magic_name__		:    List[Any]	    =     ["preactivation", "bottleneck"]
	__magic_name__		:    int	    =     ["SAME", "VALID"]


	def __init__(self : Union[str, Any],					__UpperCAmelCase : Tuple=3,					__UpperCAmelCase : Optional[int]=64,					__UpperCAmelCase : Union[str, Any]=[256, 512, 1024, 2048],					__UpperCAmelCase : int=[3, 4, 6, 3],					__UpperCAmelCase : Any="preactivation",					__UpperCAmelCase : List[Any]="relu",					__UpperCAmelCase : Optional[Any]=None,					__UpperCAmelCase : int=32,					__UpperCAmelCase : int=0.0,					__UpperCAmelCase : Union[str, Any]=False,					__UpperCAmelCase : int=32,					__UpperCAmelCase : List[Any]=1,					__UpperCAmelCase : str=None,					__UpperCAmelCase : str=None,					**__UpperCAmelCase : Optional[Any],					)     ->			str:

					"""simple docstring"""

					super().__init__(**__UpperCAmelCase      )
					if layer_type not in self.layer_types:
									raise ValueError(F'''layer_type={layer_type} is not one of {",".join(self.layer_types      )}'''      )
					if global_padding is not None:
									if global_padding.upper() in self.supported_padding:
													SCREAMING_SNAKE_CASE  :						Union[str, Any]      					= global_padding.upper()
									else:
													raise ValueError(F'''Padding strategy {global_padding} not supported'''      )
					SCREAMING_SNAKE_CASE  :						Union[str, Any]      					= num_channels
					SCREAMING_SNAKE_CASE  :						Any      					= embedding_size
					SCREAMING_SNAKE_CASE  :						int      					= hidden_sizes
					SCREAMING_SNAKE_CASE  :						Dict      					= depths
					SCREAMING_SNAKE_CASE  :						Union[str, Any]      					= layer_type
					SCREAMING_SNAKE_CASE  :						Optional[Any]      					= hidden_act
					SCREAMING_SNAKE_CASE  :						int      					= global_padding
					SCREAMING_SNAKE_CASE  :						Tuple      					= num_groups
					SCREAMING_SNAKE_CASE  :						int      					= drop_path_rate
					SCREAMING_SNAKE_CASE  :						Any      					= embedding_dynamic_padding
					SCREAMING_SNAKE_CASE  :						Any      					= output_stride
					SCREAMING_SNAKE_CASE  :						str      					= width_factor

					SCREAMING_SNAKE_CASE  :						List[str]      					= ['''stem'''] + [F'''stage{idx}''' for idx in range(1,					len(__UpperCAmelCase      ) + 1      )]
					SCREAMING_SNAKE_CASE					,					SCREAMING_SNAKE_CASE  :						Any      					= get_aligned_output_features_output_indices(
					    out_features=__UpperCAmelCase,					out_indices=__UpperCAmelCase,					stage_names=self.stage_names      )









'''simple docstring'''

def       __lowercase  (_SCREAMING_SNAKE_CASE      :int       ):
				SCREAMING_SNAKE_CASE  :						Tuple      					= 1
				for i in range(1    ,	num + 1       ):
								fact *= i
				return fact






def       __lowercase  (_SCREAMING_SNAKE_CASE      :int       ):
				SCREAMING_SNAKE_CASE  :						List[Any]      					= 0
				while number > 0:
								SCREAMING_SNAKE_CASE  :						List[str]      					= number % 10
								sum_of_digits += last_digit
								SCREAMING_SNAKE_CASE  :						List[str]      					= number // 10  # Removing the last_digit from the given number
				return sum_of_digits






def       __lowercase  (_SCREAMING_SNAKE_CASE      :int = 1_00       ):
				SCREAMING_SNAKE_CASE  :						List[Any]      					= factorial(_SCREAMING_SNAKE_CASE       )
				SCREAMING_SNAKE_CASE  :						List[str]      					= split_and_add(_SCREAMING_SNAKE_CASE       )
				return result


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




