from collections import Counter C = Counter(input()) if max(C.values()) > 1: print("NO") else: print("YES")