
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
Given that some marbles in a jar are green and the rest are yellow, if one green marble is removed, then one-eighth of the remaining marbles are green, and if three yellow marbles are removed instead, then one-sixth of the remaining marbles are green, determine the original number of marbles in the jar.

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