Dan invested $500 in a savings account that earned 5% interest compounded quarterly. How much is in his account after 5 years?