#include <bits/stdc++.h>
using namespace std;
int main()
{
string input;
while(cin>>input)
{
int i;
for(i=0;i<input.length()/2+1;++i)
if(input[i]!=input[input.length()-1-i])
{
cout<<"no"<<endl;
break;
}
if(i==input.length()/2+1)
cout<<"yes"<<endl;
}
return 0;
}