a=input() b=a[::-1] #String is reversed and stored in b if (a==b): # If a and b both are equal string is Palindrome print("String is Palindrome") else: print("String is not Palindrome")