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