Ryan earned $212 in interest from his savings account over 8 years. His account has an interest rate of 3%. What amount did Ryan deposit?