#Jarod Pierre Murton
#Development exercise Iteration
#16/10/14

total = 1
number = int(input("Please enter a number: "))


for count in range (1,number+1):
    total = total * number
    number = number - 1

print(total)

            


