#include <iostream>
#include <set>
using namespace std;
signed main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
string s;
set<char> b;
cin >> s;
for(auto i: s)
b.insert(i);
if(b.size() == s.length())
cout << "YES";
else
cout << "NO";
}
#include <iostream>
#include <set>
using namespace std;
signed main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
string s;
set<char> b;
cin >> s;
for(auto i: s)
b.insert(i);
if(b.size() == s.length())
cout << "YES";
else
cout << "NO";
}