s = input().strip() l = [] for a in s: if a in l: print("NO") break else: l.append(a) else: print("YES")