Problem A: 求阶乘

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:376 Solved:255

Description

一个数的阶乘用 n!表示,它的值等于1*2*3*…*n。例如:

5! = 1*2*3*4*5 = 120。现在从键盘输入一个数字n(1<=n<=20),计算n!



Input

输入一个n

Output

输出n的阶乘

Sample Input Copy

5

Sample Output Copy

120

Source/Category