
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
At the 4 PM show, all the seats in the theater were taken, and 65 percent of the audience was children. At the 6 PM show, again, all the seats were taken, but this time only 50 percent of the audience was children. Of all the people who attended either of the shows, 57 percent were children although there were 12 adults and 28 children who attended both shows. How many people does the theater seat?

Present the answer in LaTex format: \boxed{Your answer}
user