A family spends $40,000 a year for living expenses. If prices increase by 4 percent a year for the next three years, what amount will the family need for their living expenses after three years?