Integers are read from input and stored into a vector until -1 is read. If the vector's last element is positive, output the positive elements in the vector. Otherwise, output the non-positive elements in the vector. End each number with a newline.