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