Neil invested a total of in two accounts. After a year, one account had earned , while the other account had lost . In total, Neil had a net gain of . How much money did Neil invest in each account?
Neil invested in the account that grew by .
Neil invested in the account that fell by .

You can earn partial credit on this problem.