


"""simple docstring"""






from ...configuration_utils import PretrainedConfig
from ...utils import logging


UpperCamelCase__				:str			   =	logging.get_logger(__name__)






class      A(  lowerCamelCase__		):

		"""simple docstring"""





		A    =							"timm_backbone"
		def __init__( self					,				SCREAMING_SNAKE_CASE__=None					,				SCREAMING_SNAKE_CASE__=3					,				SCREAMING_SNAKE_CASE__=True					,				SCREAMING_SNAKE_CASE__=True					,				SCREAMING_SNAKE_CASE__=None					,				**SCREAMING_SNAKE_CASE__					,				)      ->	str:

					"""simple docstring"""



					super().__init__(**SCREAMING_SNAKE_CASE__   )
					_UpperCamelCase					:Tuple					     =	backbone
					_UpperCamelCase					:Any					     =	num_channels
					_UpperCamelCase					:Dict					     =	features_only
					_UpperCamelCase					:int					     =	use_pretrained_backbone
					_UpperCamelCase					:List[Any]					     =	True
					_UpperCamelCase					:Optional[Any]					     =	out_indices if out_indices is not None else (-1,)





"""simple docstring"""






def 				A_       ( snake_case__		)					->  int:
			_UpperCamelCase					:Dict					     =	1
			for i in range(1       ,					num + 1		):
						fact *= i
			return fact





def 				A_       ( snake_case__		)					->  int:
			_UpperCamelCase					:Dict					     =	0
			while number > 0:
						_UpperCamelCase					:Tuple					     =	number % 10
						sum_of_digits += last_digit
						_UpperCamelCase					:str					     =	number // 10  # Removing the last_digit from the given number
			return sum_of_digits





def 				A_       ( snake_case__ = 1_00		)					->  int:
			_UpperCamelCase					:int					     =	factorial(snake_case__		)
			_UpperCamelCase					:Dict					     =	split_and_add(snake_case__		)
			return result


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

