number=int(input("Enter the Number: "))
reverse=0

while (number>0):
    remainder=number%10
    reverse=reverse*10+remainder
    number=number//10
    
print("Reverse of the number is: ",reverse)
              