#include using namespace std; #define YES cout << "Yes" << endl #define NO cout << "No" << endl int main(void){ string s; cin >> s; (s[0] == s[1]) ? YES : NO; }