#palindrome
def rev(str):
    return str[::-1]
def is_pal(str):
    reverse=rev(str)
    if(str==reverse):
        return True
    return False
#enter the string
res=is_pal(str)
if res==1:
    print("Yes")
else:
    print("No")

cae36e009f7418522d4217e88a39d2e00008b1c4
def rev(str):
    return str[::-1]


<mask token>

def rev(str):
    return str[::-1]


def is_pal(str):
    reverse = rev(str)
    if str == reverse:
        return True
    return False


<mask token>

def rev(str):
    return str[::-1]


def is_pal(str):
    reverse = rev(str)
    if str == reverse:
        return True
    return False


<mask token>
if res == 1:
    print('Yes')
else:
    print('No')

def rev(str):
    return str[::-1]


def is_pal(str):
    reverse = rev(str)
    if str == reverse:
        return True
    return False


res = is_pal(str)
if res == 1:
    print('Yes')
else:
    print('No')

#palindrome
def rev(str):
    return str[::-1]
def is_pal(str):
    reverse=rev(str)
    if(str==reverse):
        return True
    return False
#enter the string
res=is_pal(str)
if res==1:
    print("Yes")
else:
    print("No")
