ryan invests a sum of money in a saving account with a fixed annual interest rate of 4.31% compounded monthly. After 10 years, the balance reaches $12,835.94. What was the amount of the initial investment?