there was a total of $578 collected for tickets to the school play. The adult tickets cost $6, and the student tickets cost $4. If 12 more student tickets were sold than adult tickets, find the numbers of adult and student tickets sold