import sys S = input() memo = [] for i in range(len(S)): if S[i] in memo: print('NO') exit() memo.append(S[i]) print('YES')