10627: 2013_12_13_D

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

Description

MiaoWu想知道n的阶乘是多少,很简单吧。

Input

第一组输入一个T,表示T组数据

每组数据输入一个n (0<=n<10)

Output

每组输出一行,输出n!

Sample Input Copy

3
3
2
1

Sample Output Copy

6
2
1