
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
Carlson has three boxes, each containing 10 candies. One box is labeled with the number 4, another with the number 7, and the third with the number 10. In one operation, Carlson performs the following two steps sequentially:

- Takes from any box the number of candies equal to the number written on it.
- Eats 3 candies from those taken, and puts the remaining candies into any other box.

What is the maximum number of candies Carlson can eat as a result of several such operations?

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