eolymp
Competitions

Week 3: November 23 – 29. For Loop. Part 1

Factorial

Find the factorial of a number.

Input

One integer n (0n20).

Output

Print the value of n!

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