#29657: 答案不行才來看


semitruck (unknown)


a=input()

if a==a[ : :-1]:

 print('yes')

else:

 print('no')