x=(input("Enter a word: ")) if x == x[::-1]: print(x, "is a palindrome") else: print(x, "is not a palindrome")