#include #include using namespace std; using ll= long long; using ull=unsigned long long; using ldo =long double; #define rep(i,n,k) for(ll i = k; i < (ll)(n); i++) templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b>S; bool x=false,y=false; int a[300]; rep(i,300,0)a[i]=0; rep(i,3,0){ a[(int)S[i]]+=1; } rep(i,300,0){ if(a[i]==1)x=true; if(a[i]==2)y=true; } if(x and y)cout<<"Yes"<