#include <iostream>

using namespace std;

bool isReverse (string s){
	string s1;
	for (int i = s.size() - 1; i >= 0; i--){
		s1.push_back(s[i]);
	}
	return s1 == s;
}
int main () {
	string str;
	while (cin >> str){
		if (isReverse(str)){
			cout << "Yes!" << endl;
		}else{
			cout << "No!" << endl;
		}
	}
	return 0;
}