import math


def int(n):
  x=1
  for k in range(n): 
    x = x*(k+1)
  return x

print(int(30))

print(math.factorial(30))