s = input() set1 = set() for i in range(len(s)): set1.add(s[i]) if len(s) == len(set1): print('YES') else: print('NO')