eolymp
bolt
Try our new interface for solving problems
Problems

Factorial!

Factorial!

Find the factorial of an integer n.

Input

One integer n (0n3000).

Output

Print the factorial of n.

Time limit 1 second
Memory limit 128 MiB
Input example #1
3
Output example #1
6