#include #include #include #include #include #include #include #include #include #include #include #include #define vll vector #define vvvl vector #define vvl vector> #define VV(a, b, c, d) vector>(a, vector(b, c)) #define VVV(a, b, c, d) vector(a, vvl(b, vll (c, d))); #define re(c, b) for(ll c=0;c> s; vll cnt(26, 0); for(auto c:s){ ll k = c - 'A'; if(cnt[k]){ std::cout << "NO" << '\n'; return 0; } cnt[k]++; } std::cout << "YES" << '\n'; return 0; }