def fact(n):
    fact = 1
    for i in range(1,n+1):
        fact *= i
    return fact

if __name__ == "__main__":
    n=int(input("Enter number>>>"))
    print("The Factorial of given number is", fact(n))
