#include <iostream>
using namespace std;
int main()
{
string x;
int b=1;
cin >> x;
for (int i=0; i<x.length()/2; i++){
if (x[i]!=x[x.length()-1-i]){
b=0;
}
}
if (b==1){
cout << "yes" << endl;
}
else {
cout << "no" << endl;
}
return 0;
}