S = input() T = set(S) print(['NO', 'YES'][len(S) == len(T)])