Hong bought a desktop computer and a laptop computer. Before finance chargers, the laptop cost $400 less than the deskop. He paid for the computers using two different financeing plans. For the desktop the interest rate was 7.5% per year, and for the laptop it was 8% per year. The total finance charges for one year were $371. how much did each computer cost before finance charges?