Phyllis invested 47000 dollars, a portion earning a simple interest rate of 4 percent per year and the rest earning a rate of 6 percent per year. After one year the total interest earned on these investments was 2200 dollars. How much money did she invest at each rate?