#P64A. Factorial

    ID: 8115 远端评测题 2000ms 64MiB 尝试: 0 已通过: 0 普及+/提高 上传者: 标签>*special problemimplementation*1300

Factorial

Description

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

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

Print the factorial of n.

Input

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

Output

Print the factorial of n.

3

5

6

120