
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
There are several boys and five girls sitting at a table, and there are 30 buns on a plate on the table. Each girl gave one bun (from the plate) to each boy she knew, and then each boy gave one bun (from the plate) to each girl he didn't know. After this, it turned out that all the buns were given away. How many boys were there?

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