Selling a house

We close the semester with a question from the 1869-70 Massachusetts Institute of Technology Entrace Examination. By selling a house and lot for $5,790, the owner lost 3 1/2 per cent. What was their cost? The best answer submitted to dhousman@goshen.edu will win a small prize.