~/algor $ cat problems/faktorial
Factorial
Easy
1000 ms
64 MB
26%
A positive integer $N$ is given. Compute the factorial of $N$:
$$N! = 1 * 2 * 3 * \dots * N$$
Input
One positive integer $N$.
Output
One integer — $N!$.
Note
$1 \le N \le 20$
Examples
Input #1
1
Output #1
1
Input #2
2
Output #2
2