#38293: python


40957017O (unknown)

學校 : 國立臺灣師範大學
編號 : 249669
來源 : [101.3.135.49]
最後登入時間 :
2025-07-10 16:14:16

while True:
  try:
    n = int(input())
    product = 1
    i = 1
    while (i <= n):
      product *= i
      i += 1
    print(str(n)+"!")
    print(product)
  except:
    break