S = input() a_to_z = [] flag = True for i in range(len(S)): if S[i] in a_to_z: flag = False break else: a_to_z.append(S[i]) if flag == True: print("YES") else: print("NO")