


"""simple docstring"""
def 						_a				(      _SCREAMING_SNAKE_CASE				)    ->				str:
							return " ".join(input_str.split()[::-1]				)


if __name__ == "__main__":
				import doctest

				doctest.testmod()







"""simple docstring"""
from math import factorial







def 						_a				(      _SCREAMING_SNAKE_CASE = 100				)    ->				int:
							return sum(int(_SCREAMING_SNAKE_CASE				) for x in str(factorial(_SCREAMING_SNAKE_CASE				)				)				)


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



