#include using namespace std; typedef long long ll; typedef long double ld; typedef pair pll; const ll LongINF=1000000000000000000; const int INF=1000000007; const int dx[]={0,1,0,-1}; const int dy[]={1,0,-1,0}; template inline bool chmin(T& a, T b) {if (a > b) {a = b;return true;}return false;} template inline bool chmax(T& a, T b) {if (a < b) {a = b;return true;}return false;} template T GCD(T a, Y b){if(aT LCM(T a,Y b){return (a*b)/GCD(a,b);} void clear(queue> &q){queue> empty;swap(q, empty);} //queueの中身の型は適時変更を忘れない using vi=vector; using vii=vector; #define REP(i,a,b) for(ll i=(a);i<(b);i++) #define rep(i,n) REP(i,0,n) #define pb push_back #define rv reverse #define ALL(a) (a).begin(),(a).end() #define decimal(x) fixed<>S; if(S[0]==S[1]&&S[1]!=S[2])cout<<"Yes"<