import sys num_list = [] for line in sys.stdin: num_list.append(int(line.split()[0])) f_list = [] n_list = [] for i in num_list: if i < 0: f_list.append(i) else: n_list.append(i...