#include #include using namespace std; int main(){ string S; cin>>S; if(S[0]==S[1]){ cout<<"Yes"<