Nico is saving money for his college education. He invests some money at 7%, and $1600 less than that amount at 6%. The investments produced a total of $177 interest in 1 yr. How much did he invest at each rate?