300330: CF64A. Factorial

Memory Limit:64 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

A. Factorialtime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard output

Print the factorial of the given integer number n. The factorial of n is equal to 1·2·...·n.

Input

The only line contains n (1 ≤ n ≤ 10).

Output

Print the factorial of n.

ExamplesInput
3
Output
6
Input
5
Output
120

Input

加入题单

上一题 下一题 算法标签: