Sandra won $30,000. She invested part of the money in a CD, part in bonds, and part in a mutual fund. After a year she received $1,500 in simple interest from the three investments. The CD paid 4% annually, the bonds paid 5% annually, and the mutually fund paid 8% annually. There was $4,000 more invested in the CD than the mutual funds. Find the amount Sandra invested in each category.