#include using namespace std; using ll = long long; int main(){ ios::sync_with_stdio(false); cin.tie(0); string s; cin >> s; cout << (s[0] == s[1] ? "Yes" : "No") << '\n'; }