S = input() s = set([i for i in S]) if len(S) == len(s): print('YES') else: print('NO')