P16830 [HackerEarth] You are asked to calculate factorials of some small positive integers.
普及-
题目描述

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

Input
An integer T, denoting the number of testcases, followed by T
lines, each containing a single integer N.

Output
For each integer N given at input, output a single line the value of N!

Input Constraint

1 ≤ T ≤ 100

1 ≤ N ≤ 100

SAMPLE INPUT
4
1
2
5
3

SAMPLE OUTPUT
1
2
120
6

输入格式

见题面

输出格式

见题面

样例输入
26 87 44 4 75 22 72 66 77 58 60 59 61 8 22 6 43 94 32 67 73 28 79 45 78 24 39
样例输出
2480035542436830599600990418569171581047399201355367672371710738018221445712183296000000000000000 5040 1485715964481761497309522733620825737885569961284688766942216863704985393094065876545992131370884059645617234469978112000000000000000000000 138683118545689835737939019720389406345902876772687432540821294940160000000000000 2432902008176640000 1156772507081641574759205162306240436214753229576413535186142281213246807121467315215203289516844845303838996289387078090752000000000000000000000