num=int(input("Enter the number: "))
def factorial(n):
    pro=1
    i=n
    while(i>=1):
        pro=pro*i
        i=i-1
    print("\nThe factorial is: ",pro)
    return
factorial(num)


    
        
        

    


        
    
        
    

    
    

