Write a program that reads a list of integers, prints all the negative integers, and then prints all the positive integers. You may assume that each integer is between -10000 and 10000. You must use memory proportional to the number of integers. If not enough memory is available, print a message on stderr and exit. Do not ask the user in advance how many integers there are.