FCTRL2 - Small factorials

题意翻译

### 题目描述 要求计算小的正整数的阶乘。 ### 输入格式 一个正整数 $t(1\leq t\leq100)$,表示数据个数。接下来 $t$ 行,每行一个正整数 $n(1\leq n\leq 100)$。 ### 输出格式 对于每个输入的正整数 $n$,输出一行结果表示 $n$ 的阶乘。 Translated by @leylee @PC_DOS

题目描述

You are asked to calculate factorials of some small positive integers.

输入输出格式

输入格式


An integer t, 1<=t<=100, denoting the number of testcases, followed by t lines, each containing a single integer n, 1<=n<=100.

输出格式


For each integer n given at input, display a line with the value of n!

输入输出样例

输入样例 #1

4
1
2
5
3

输出样例 #1

1
2
120
6