#include <stdio.h>
#include <string.h>
int main(void) {
char str[100];
int i,b,d;
gets(str);
b=strlen(str);
d=b-1;
for(i=0;i<b;i++){
if(str[i]!=str[d--]){
break;
}
}
if(i==b){
printf("yes");
}
else{
printf("no");
}
}