A pawn broker buys a TV set and a computer for $600. He sells the Computer at a markup of 30% and the TV at a markup of 20%. If he makes a profit of $165 on the sale of two items, what did he pay for the computer?