6001 - 阶乘计算

通过次数

22

提交次数

27

Time Limit : 1 秒
Memory Limit : 128 MB

输入正整数n,求阶乘 s=1 × 2 × 3 × ... × n的值。

Input

一行,一个整数n,1<=n<=10。

Output

一行,一个整数,为n的阶乘。

Examples

Input

3

Output

6