
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
There are some pieces in a box, less than 50 in total. Xiaoming and Xiaoliang take turns taking pieces from the box. If Xiaoming takes 2 pieces, Xiaoliang takes 2 pieces, Xiaoming takes 2 pieces, and Xiaoliang takes 2 pieces, in this manner, Xiaoming will have 2 more pieces than Xiaoliang in the end. If Xiaoming takes 3 pieces, Xiaoliang takes 3 pieces, Xiaoming takes 3 pieces, and Xiaoliang takes 3 pieces, in this manner, both will end up taking the same number of pieces. How many pieces are there at most in the box?

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