def mn():
    n=int(input("Enter number:"))
    temp=n
    rev=0
    while(n>0):
        dig=n%10
        rev=rev*10+dig
        n=n//10
        if(temp==rev):
            print("yes")
        else:
            print("no")
mn()

eaadbbaef82c4eec72025070ae88958c51fee2ed
<mask token>

def mn():
    n = int(input('Enter number:'))
    temp = n
    rev = 0
    while n > 0:
        dig = n % 10
        rev = rev * 10 + dig
        n = n // 10
        if temp == rev:
            print('yes')
        else:
            print('no')


<mask token>

def mn():
    n = int(input('Enter number:'))
    temp = n
    rev = 0
    while n > 0:
        dig = n % 10
        rev = rev * 10 + dig
        n = n // 10
        if temp == rev:
            print('yes')
        else:
            print('no')


mn()

def mn():
    n=int(input("Enter number:"))
    temp=n
    rev=0
    while(n>0):
        dig=n%10
        rev=rev*10+dig
        n=n//10
        if(temp==rev):
            print("yes")
        else:
            print("no")
mn()
