A store has $4500 of inventory in 8 x 10 picture frames and 5 x 7 picture frames. The profit on an 8 x 10 frame is 25% and the profit on a 5 x 7 frame is 20%. The profit on the entire stock is 23%. How much is invested in the 8 x 10 picture frames and how much is invested in the 5 x 7 picture frames?