import math
product=1
for j in range(30):
        product=product*(j+1)
print(product)  