string=input("enter the string")
ls=list(string)
#print(ls)
#l=len(ls)
ls2=ls[::-1]
#print(ls2)
c=0
if(ls==ls2):
    print("pallindrome")
else:
    print("not pallindrome")

#o/p
#amma
#pallindrome

#helo
#not pallindrome






#ls=["a","d","b","b","d","a"]
# for i in ls:
#    for j in ls2:
#        if(i==j):
#            c=c+1
#        else:
#            c=0
#            break
#
# if(c>0):
#     print("pallindrome")
# else:
#     print("not pallindrome")

