#include //#include using namespace std; //using namespace atcoder; #define rng(i,a,b) for(int i=int(a);i> S; if(S[0] == S[1] && S[1] != S[2])cout << "Yes"s << endl; else cout << "No"s << endl; }