#include <iostream>
#include <cstring>
#include <algorithm>
#include <iterator>

using namespace std;

int main() {
    string s;
    while(cin>>s)
    {
        string s1 = s;
        reverse(s.begin(),s.end());
        if(s1 == s)cout<<"Yes!"<<endl;
        else cout<<"No!"<<endl;
    }
}
// 64 位输出请用 printf("%lld")