A movie theater has a seating capacity of 331. The theater charges $5.00 for children, $7.00 for students, and $12.00 of adults. There are half as many adults as there are children. If the total ticket sales was $ 2402, How many children, students, and adults attended?

(Blank) children attended.
(Blank) students attended.
(Blank) adults attended.

Explain your answer!

Please show your work!

No incorrect answer!

No nonsense answer!

No spam answer!

Thanks!