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