#include "bits/stdc++.h"
using namespace std;
int main()
{
bool flag= true;
string str;
while(getline(cin,str))
{
for (int i = 0; i < str.size(); ++i) {
if (str[i]!=str[str.size()-i-1])
{
flag= false;
}
}
if (flag)
{
cout<<"Yes!"<<endl;
} else{
cout<<"No!"<<endl;
}
}
}



京公网安备 11010502036488号