S = input() if len(S) == len(set(S)): print('YES') else: print('NO')