S = input() N = len(S) a = set(S) if len(a) == N: print('YES') else: print('NO')