A total of $3800 is invested into two accounts paying 4% and 7% annual interest. In one year the combined interest on the accounts is $218.

Find the amount invested at 4%.