
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
Ivan Tsarevich was fighting Zmey Gorynych, a dragon with three heads and three tails. With one strike, Ivan could chop off either one head, one tail, two heads, or two tails. However, if one tail was chopped off, two tails would grow; if two tails were chopped off, a head would grow; if a head was chopped off, a new head would grow; and if two heads were chopped off, nothing would grow. What strategy should Ivan Tsarevich use to chop off all the heads and all the tails of the dragon as quickly as possible?

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