Competitions

# Week 8: December 28 - January 10. Functions. Part 1

# 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# Week 8: December 28 - January 10. Functions. Part 1

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