s = str(input()) if len(s) == len(set(s)): print("YES") else: print("NO")