S=input().strip() S2=set(S) if len(S)==len(S2): print("YES") else: print("NO")