# No.730 アルファベットパネル s = input() is_able = True for letter in s: if s.count(letter) > 1: is_able = False print('YES' if is_able else 'NO')