/* * じょえチャンネル * 高評価・チャンネル登録よろしくおねがいします! * https://www.youtube.com/channel/UCRXsI3FL_kvaVL9zoolBfbQ */ #include #pragma GCC target("avx2") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") #define f(i,n) for(int i=0;i<(n);i++) #define inf (int)(3e18) //here!!! // define int long long !!!!! #define int long long // define int long long !!!!! #define mod (int)((1e9)+7) #define intt long long #define itn long long #define P pair #define rep(i,n) for(int i=0;i inline bool chmax(T& lhs, const U& rhs) { if (lhs < rhs) { lhs = rhs; return 1; } return 0; } template inline bool chmin(T& lhs, const U& rhs) { if (lhs > rhs) { lhs = rhs; return 1; } return 0; } void Yes(){ cout<<"Yes"< modInt(T value = 0, int modulo = mod) : value(value), modulo(modulo) { if (value < 0) { value = -value; value %= modulo; value = -value; value += modulo; } this->value = value % modulo; } inline operator int()const { return value; } inline modInt& operator+=(modInt x) { value += x.value; if (value >= modulo)value -= modulo; return *this; } inline modInt& operator++() { if (value == modulo - 1)value = 0; else value++; return *this; } inline modInt& operator-()const { return modInt(0) -= *this; } inline modInt& operator-=(modInt x) { value -= x.value; if (value < 0)value += modulo; return *this; } inline modInt& operator--() { if (value == 0)value = modulo - 1; else value--; return *this; } inline modInt& operator*=(modInt x) { value = value * x.value % modulo; return *this; } inline modInt& operator/=(modInt x) { return operator*=(x.inv()); } inline modInt inv() { return modpow(*this, modulo - 2); } template modInt operator+(T x) { return modInt(*this) += x; } template modInt& operator+=(T x) { return operator+=(modInt(x, modulo)); } template modInt operator-(T x) { return modInt(*this) -= x; } template modInt& operator-=(T x) { return operator-=(modInt(x, modulo)); } template modInt operator*(T x) { return modInt(*this) *= x; } template modInt& operator*=(T x) { return operator*=(modInt(x, modulo)); } template modInt operator/(T x) { return modInt(*this) /= x; } template modInt& operator/=(T x) { return operator/=(modInt(x, modulo)); } }; istream& operator>>(istream& ist, modInt& x) { int a; ist >> a; x = a; return ist; } #define vecin(v) for(int i=0;i ki,gu; signed main(){ ios::sync_with_stdio(false); std::cin.tie(nullptr); getline(cin, s); if (!s.size()) { No(); return 0; } rep(i,s.size()){ if (i&1) { ki.insert(s[i]); }else{ gu.insert(s[i]); } } rep(i,26){ if (ki.count('a'+i)&&gu.count('a'+i)) { No(); return 0; } } Yes(); }