They work-infested $18,000 into accounts, one yielding 4% interest and the other yielding 12%. If he received a total of $1,280 and interest at the end of the year, how much did he invest at 4%?​