Logan opened a savings account 21 years ago with a deposit of $3,471.52. The account has an interest rate of 3.1% compounded monthly. How much interest has Logan earned?