#46711: Py 正解


ian@jres.tc.edu.tw (張弋安)


a = input()
b = a[::-1]
if a==b:
 print("yes")
else:
 print("no")