John Baxley borrowed $25,000 for one year. He borrowed some at 13% interest and the rest at 50% interest. At the end of the year, he owed $36,000 in interest how much did he borrow at each rate?