import collections s = input() s_clc = collections.Counter(list(s)) res = 1 for key in s_clc.keys(): if s_clc[key] > 1: res = 0 break if res == 1: print('YES') else: print('NO')