#include #define rep(i,a,b) for(int i=int(a);i> S; int cnt[26] = {}; for(auto c:S){ if(cnt[c - 'A']){ cout << "NO" << endl; return 0; } cnt[c - 'A']++; } cout << "YES" << endl; }