Melanie invests a total of 24,500 in two accounts. the first account earned a rate of 15%(after a year). however, the second account suffered a 14% loss in the same time period. at the end of one year, the total amount of money was 630.00. how much was invested into each account?

…. was invested in the account that gained 15%.

….was invested in the account that lost 14%.