word = input("enter a word: ")
rev="".join(reversed(word))
if word== rev:
    print("this word is a palendrome")
else:
    print("this word is not a palendrome")