The sum of $500,000 has been placed in an investment that earns interest at the rate of 12 percent per year, compounded quarterly. After the third quarter, how much is the investment worth? ______