Suppose you invest a certain amount of money in account that earns 3% annual interest. You also invest that same amount + $2000 that earns 4% annual interest. If the total interest from both accounts at the end of the year is $535, how much has been invested in each account?