#include<iostream>
#include<string>
#include<algorithm>
using namespace std;
int main()
{
    string a,b;
    cin>>a;
    int c=a.length();
    if(c<100)
    {
        b=a;
        reverse(b.begin(),b.end());
        if(a==b)
        {
            cout<<"Yes";
        }
        else
        {
            cout<<"No";
    }
    else
    {
        cout<<"INVALID INPUT";
    }
    return 0;
}