Last year, Alonzo had 30,00 to invest. He invested some of it in an account that pain 7% simple interest per year, and he invested the rest in an account that paid 5% simple interest per year. After one year, he revived a total of 1680 in interest. How much did he invest in each account?