import math
n=1
for x in range (30):
        n=n*(x+1)
print(n)