#include using namespace std; using int64 = long long; int main() { string s; cin >> s; if(set< char >(s.begin(), s.end()).size() != s.size()) cout << "NO" << endl; else cout << "YES" << endl; }