x = input() # 输入都懂吧 j = x[::-1] # j是x倒过来之后的字符串 if x == j: # 都懂吧 print('yes') # 输出yes都懂吧 else: # 否则都懂吧 print('no') # 输出no都懂吧