/* author: kyawa */ #include using namespace std; /* 考察 */ int main(){ string S; cin >> S; cout << (S[0] == S[1] ? "Yes" : "No") << '\n'; }