from collections import Counter s = input() ans = Counter(s) for v in ans.values(): if v != 1: print("NO") break else: print("YES")