factorial = [1] * 13
for i in range(1, 13):
    factorial[i] = factorial[i - 1] * i
print(factorial[int(input())])

2d39b65945316997a49da13b1b2f68a9a08d1cc1
<mask token>

<mask token>
for i in range(1, 13):
    factorial[i] = factorial[i - 1] * i
print(factorial[int(input())])

factorial = [1] * 13
for i in range(1, 13):
    factorial[i] = factorial[i - 1] * i
print(factorial[int(input())])
