99991121 - n的阶乘

输入一个整数n,请你编写一个函数,int fact(int n),计算并输出n的阶乘。 数据范围 1≤n≤10

Input

共一行,包含一个整数n。

Output

共一行,包含一个整数表示n的阶乘的值。

Examples

Input

3

Output

6
Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题