a store has $25000 in stock of ipads and iphones. a profit of 23% is made on iphones and a profit of 30% is made on ipads. the total profit from all sales is 26%. find how much was invested in each item