s = input() l = list() for i in s: if i not in l: l.append(i) else: print("NO") break else: print("YES")