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