word = input()
same = True
for i in range(int(len(word) / 2)):
if word[i] != word[-(i + 1)]:
print("no")
same = False
break
if same != False:
print("yes")