$6,000 is invested in two different accounts earning 3% and 5% interest at the end of one year to two accounts earn $220 in interest how much money was invested at 3%
A:$4000
B:$2000
C:$3000​