
#include<stdio.h>
int main()
{
    int i,n,a,c;
    scanf("%d",&n);

        a=n/100;
        c=n%10;
        if(a==c)
            printf("yes");
        else
            printf("no");

    return 0;
}