sum=1
for j in range(1, 31):
	sum=1*j
print(sum)