Competitions

# PP2. Week 1: March 1 - 7

# Factorial

Find the factorial of a number.

#### Input

One integer **n** (**0** ≤ **n** ≤ **20**).

#### Output

Print the value of **n!**

Input example #1

3

Output example #1

6

Competitions# PP2. Week 1: March 1 - 7

Find the factorial of a number.

One integer **n** (**0** ≤ **n** ≤ **20**).

Print the value of **n!**

Input example #1

3

Output example #1

6