s = input() l = [] for i in s: if not i in l: l.append(i) if len(l) == len(s): print('YES') else: print('NO')