Fred buys a house at the end of the first year ,the value of the house increases by 5%.at the end of the second year, the value of the house increased by 3% of its value at the end of the first year. the value of fred house at the end of the second year is $60564 .calculate how much fred paid for the house.