A factory paid $4,500 to improving 15 machines. It then sold 13 of them at an average of $505 each. If the total profit was $3,000, what was the average price at which each of the remaining machines were sold? (Please put dollars in the first box and cents in the second box.)

$