At a college production of a play, 400 tickets were sold. The ticket prices were $8,$10, and $12, and the total income from ticket sales was were sold if the combined number of $8 and $10 tickets sold was 7 times the number of $12 tickets sold?