#include"stdio.h"
#include"string.h"
#define N 20
int main()
{
char str[N];
printf("please input a string...\n");
gets(str);
int high,low;
for(low=0,high=strlen(str)-1;low<high;low++,high--)
if(str[low]!=str[high])
{
printf("NO\n");
break;
}
if(low>=high)
printf("Yes\n");
return 0;
}