e-olymp
Competitions

Quick Start C: Loops, Arrays, Functions

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