#照猫画虎编写阶乘
n = int(input())
num1=1
for i in range(1,n+1):
num1=num1*i
print(num1)
print("3009")

python第二节课4题_学习