To save for their daughter's college education, Fred and Alice deposit $1250 at the end of each semiannual period into an account that pays 4.9% interest compounded semiannually. After 10 years, they move the balance to a new account which pays 1.9% compounded monthly and start depositing $370 per month for 8 years. How much will the account contain at the end of this 18-year period?