
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
A group of schoolchildren decided to buy pizza. Each pizza is cut into 12 slices. They calculated that if each boy eats 7 slices and each girl eats 2 slices, three pizzas will not be enough. If they buy four pizzas, each boy will have enough for 8 slices, each girl will have enough for 4 slices, and there will still be some leftover. How many boys and how many girls are in this group?

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