An investor decides to invest some cash in an account paying 9% annual interest, and to put the rest in a stock fund that ends up earning 11% over the course of a year. The investor puts $1400 more in the first account than in the stock fund, and at the end of the year finds the total interest from the two investments was $1060 . How much money was invested at each of the two rates? Round to the nearest integer.