A paper company needs to ship paper to a large printing business. The paper will be shipped in small boxes and large boxes. Each small box of paper weighs 45 pounds and each large box of paper weighs 80 pounds. There were twice as many large boxes shipped as small boxes shipped and the total weight of all boxes was 1435 pounds. Determine the number of small boxes shipped and the number of large boxes shipped.