#include<stdio.h>
int main()
{
	int m=0,n,i,a,b,c;
	scanf("%d",&n);
    i=n;
	a=n/100;
	b=(n-a*100)/10;
	c=(n-a*100-b*10);
	m=c*100+b*10+a;
	if(m==n)
	    printf("yes\n");
	else
		printf("no\n");
	return 0;
 } 