Miranda sold movie DVD’s for $12 and television DVD’s for $9 and has collected $1167 from the sales of both. The number of movies sold is 4 less than 3 times the number of television shows. How many movie DVD’s were sold, and how many television DVD’s were sold?