Write a program that reads a list of integers and prints the integers in the opposite order, one per line. Do not ask the user in advance how many integers there are. For example, if the input is 3 1 4 1 5, the output will be 5 1 4 1 3 on five lines. 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.