n = int(input("Enter a number "))
fact = 1
for i in range(1,n+1):
    fact = fact*i
print("Factorial of {} is {} ".format(n,fact))
    

 #   n = int(input("Enter a number"))
  #  sum = 0
 #   for i in range(1,n+1):
  #      sum = sum +1
 #   print("Summation=",sum)
        
