from collections import Counter s = input() c = Counter(s) print("YES" if c.most_common()[0][1] == 1 else "NO")