S = str(input()) T = [] for i in range(len(S)): if S[i] not in T: T.append(S[i]) else: print("NO") exit() print("YES") #なぜ頭文字以外も大文字?