785. Virat and Factorials

0

Medium

Virat Kohli now wants to learn coding. So Dhoni gave him a simple task of calculating factorial of a number. Help him finish this task.

Input Format

Single line containing an integral value N.

Output Format

Print the integral value denoting factorial of 'N'.

Example

Input

3

Output

6

Constraints

1<=N<=100

Loading...

View Submissions

Console