A paper company needs to ship paper to a large printing business. The paper will be shipped in small boxes and large boxes. The volume of each small box is 9 cubic feet and the volume of each large box is 17 cubic feet. There were twice as many large boxes shipped as small boxes shipped and the total volume of all boxes was 258 cubic feet. Determine the number of small boxes shipped and the number of large boxes shipped.