#include<bits/stdc++.h> using namespace std; int main(){ string s,str; getline(cin,s); str=s; reverse(str.begin(),str.end()); if(str==s) cout<<"yes"; else cout<<"no"; return 0; }