while True: word = input() isPalindrome = True for i in range(0, len(word)): if word[i] != word [-i-1]: isPalindrome = False break print("yes") if isPalindrome == True else print("no")