



'''simple docstring'''



from math import factorial



def   _A       (   _lowerCAmelCase = 100					):



							"""simple docstring"""



							return sum(map(_lowerCAmelCase  ,   str(factorial(_lowerCAmelCase					)					)					)					)


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








'''simple docstring'''



def   _A       (   _lowerCAmelCase					):



							"""simple docstring"""



							if not isinstance(_lowerCAmelCase  ,   _lowerCAmelCase					):
														raise TypeError('only integers accepted as input'					)
							else:
														__lowercase       	=str(abs(_lowerCAmelCase					)					)
														__lowercase       	=[list(_lowerCAmelCase					) for char in range(len(_lowerCAmelCase					)					)]
														for index in range(len(_lowerCAmelCase					)					):
																					num_transpositions[index].pop(_lowerCAmelCase					)
														return max(
														    int(''.join(list(_lowerCAmelCase					)					)					) for transposition in num_transpositions					)


if __name__ == "__main__":
		__import__("""doctest""").testmod()



