from math import factorial as f
t = int(input())
for _ in range(0, t):
    n = int(input())
    print(f(n))

0d32587c8a5fdf36ea538a5fec72ba8f889a9cc2
<mask token>

<mask token>
for _ in range(0, t):
    n = int(input())
    print(f(n))

<mask token>
t = int(input())
for _ in range(0, t):
    n = int(input())
    print(f(n))

from math import factorial as f
t = int(input())
for _ in range(0, t):
    n = int(input())
    print(f(n))
