S = input() uniq = set(S) print('YES' if len(S) == len(uniq) else 'NO')