import collections as cole S=list(input()) s=cole.Counter(S) print("YES") if len(S) == len(s) else print("NO")