#include <cstdio>
#include <cstring>
const int max=256;
bool judge(char str[]){
int len= strlen(str);
for(int i=0;i<len/2;i++){
if(str[i]!=str[len-1-i]){
return false;
}
}
return true;
}
int main() {
char str[max];
while(gets(str)){
bool flag=judge(str);
if(flag==true) {
printf("yes\n");
}else{
printf("no\n");
}
}
return 0;
}