Drop links or images here to add them to the editor.

Factorial Function

Create a function named factorial.

The function must receive an integer n and return the factorial of that number.

The factorial of 0 is 1.

Required function

int factorial(int n)

Input

An integer.

Output

The factorial of the number.

Examples

Input:

5

Output:

120

Input:

0

Output:

1