
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
The underwater king employs octopuses with six, seven, or eight legs. Those with seven legs always lie, while those with six or eight legs always tell the truth. Four octopuses met. The blue one said, "Together we have 28 legs," the green one said, "Together we have 27 legs," the yellow one said, "Together we have 26 legs," and the red one said, "Together we have 25 legs." How many legs does each octopus have?

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