Stacey is saving money to buy a new car three years from now. She plans to deposit $3,000 at the end of the first year, $5,000 at the end of the second year, and $6,000 at the end of the third year. How much will she have to spend on the car at the end of the third year if she earns 5% on her investment?