
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
Let $r$ be the number of red balls, $b$ be the number of blue balls, and $g$ be the number of green balls in the bag. Given that $\frac{1}{3}$ of the balls are red, $\frac{2}{7}$ of the balls are blue, and the number of green balls is 8 less than twice the number of blue balls, determine the number of green balls.

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