Pat invested a total of $3,000. Part of the money was invested in a money market account that paid 10 percent simple annual interest, and the remainder of the money was invested in a fund that paid 8 percent simple annual interest. If the interest earned at the end of the first year from these investments was $256, how much did Pat invest at 10 percent and how much at 8 percent?