#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int main() {
char stri[100],strf[100];
int status=1;
for (int i = 0; i < strlen(stri); ++i) {
stri[i] = '\0';
strf[i] = '\0';
}
while (scanf("%s", stri) != EOF) {
for (int i = 0; i < strlen(stri); ++i) {
strf[i]=stri[strlen(stri)-1-i];
}
for (int i = 0; i < strlen(stri); ++i) {
status = 1;
if (strf[i] != stri[i]) {
status = 0;
break;
}
}
if (status) {
printf("yes\n");
}
else {
printf("no\n");
}
}
}