Formulate but do not solve the problem.
A theater has a seating capacity of 840 and charges $4 for children (x), $6 for students (y), and $8 for adults (z). At a certain screening with full attendance, there were half as many adults as children and students combined. The receipts totaled $5000. How many children attended the show?
= 840
= z
= 5000