Sam invests $4300 in two different accounts. The first account paid 2 %, the second account paid 13 % in interest. At the end of the first year he had earned $273 in interest. How much was in each account?