A movie theater has a seating capacity of 283. The theater charges $5 for children, $7 for students, and $12 of adults. There are half as many adults as there are children. If the total ticket sales was $2,042, How many children, students, and adults attended?
children attended.
students attended.
adults attended.