eolymp
bolt
Try our new interface for solving problems
Problems

Factorial

Factorial

Find the factorial of a number. \InputFile One integer $n~(0 \le n \le 20)$. \OutputFile Print the value of $n! = 1 \cdot 2 \cdot 3 \cdot ... \cdot n$.
Time limit 1 second
Memory limit 128 MiB
Input example #1
3
Output example #1
6