A store is having a sale on DVDs and CDs. DVDs cost $4 and CDs cost $7. On one day, the store made $204 from DVD and CD sales, and sold a total of 39 items. Write a system of equations, then solve to find how many DVDs and CDs were sold.