Amari has $50000 to invest in saving account and money market. The saving account pays 8% per year and the money market pays 10% per year. If Amari wants to have $4,954.16 in one year, how much should he invests in each account.