
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 circus bought some red balloons, yellow balloons, and blue balloons to decorate a circular stage. They tied a red balloon at regular intervals, using exactly 40 red balloons. Next, they tied a yellow balloon at equal intervals between each pair of adjacent red balloons but fell short by 3 yellow balloons. Finally, they tied a blue balloon between each pair of adjacent balloons, using exactly the right amount of blue balloons. How many yellow and blue balloons did the circus buy? 

Yellow balloons: __________ 
Blue balloons: __________

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