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