
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
Petya and Vasya brought an equal number of $N$ sets of buns for tea. Each set contained either 3 or 5 buns. When they unpacked their buns and put them on the plate, it turned out that Petya brought a total of 25 buns, and Vasya brought 35. Find the number $N$ of sets brought by each boy.

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