392. Virat's Factorial Challenge

0

Medium

Virat Kohli, who is eager to learn coding, has been given a simple task by Dhoni. He needs to calculate the factorial of a given number. Can you assist him in completing this task?

Input Format

Please provide a single line input containing an integral value N.

Output Format

Please print the integral value representing the factorial of 'N'.

Example

Input

3

Output

6

Constraints

1<=N<=100

Loading...

View Submissions

Console