#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; #define sz size() #define pb push_back #define mp make_pair #define fi first #define se second #define all(c) (c).begin(), (c).end() #define rep(i,a,b) for(ll i=(a);i<(b);++i) #define clr(a, b) memset((a), (b) ,sizeof(a)) #define ctos(c) string(1,c) #define print(x) cout<<#x<<" = "<>s; int d[26]; clr(d,0); rep(i,0,s.sz){ d[s[i]-'A']++; if(d[s[i]-'A']>1){ cout << "NO" << endl; return 0; } } cout << "YES" << endl; return 0; }