Factorial#1658

Factorial

1 second
128 megabytes
Very easy

Calculate the factorial of a number.

Input

One integer is given, where 0 \leq n \leq 20.

Output

Output the value of n! = 1 \cdot 2 \cdot 3 \cdot \ldots \cdot n.

Examples

Example 1

Loading
Loading