
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
When Ringo places his marbles into bags with 7 marbles per bag, he has 2 marbles left over. When Paul does the same with his marbles, he has 5 marbles left over. They are joined by George who, when placing his marbles in bags of 7, has 4 marbles left over. Ringo, Paul, and George pool their marbles and place them into as many bags as possible, with 7 marbles per bag. Calculate the number of marbles that will be leftover.

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