#include<iostream>
#include<string.h>
using namespace std;
int main()
{
const int max=100;
char input[max]={};
while(cin>>input){
int len=strlen(input);
int check=0;
for(int i=0;i<len/2;i++){
if(input[i]!=input[len-1-i]){
check=-1;
}
}
if(check==-1){
cout<<"no";
}
else{
cout<<"yes";
}
cout<<endl;
}
}