#define N 10000
#include<string.h>
int huiwen(char *p);d
int main()
{
char a[N];
gets(a);
if(huiwen(a)==1)
printf("yes");
else
printf("no");
return 0;
}
int huiwen(char *p)
{
int i=0,len;
len=strlen(p)-1;
while(p[i]==p[len])
{
i++;
len--;
}
if(i>=len)
return 1;
else
return 0;
}