Ann's $6,900 savings is in two accounts. One account earns 3% annual interest and the other earns 8%. Her total interest for the year is $342. How much does she have in each account?