11262: 14 求n!

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

Description

计算1*2*……*n的积

Input

测试数据有m组,每组测试输入一个n (数据保证 0< n<12)

Output

对于每组测试输出n! 

Sample Input Copy

3
1
2
3

Sample Output Copy

1
2
6