
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
Santa Claus gave 47 chocolates to children such that each girl received one more chocolate than each boy. Then Santa Claus gave the same children 74 jelly candies such that each boy received one more jelly candy than each girl. How many children were there in total?

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