S = input() if len(set(list(S))) == len(S): print("YES") else: print("NO")