$8,000 is invested in two different accounts earning 3% and 4% interest. If the two accounts earn a total of $295 in interest, how much money was invested at 3%?
A. $2,500
B. $3,500
C. $5,500