
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
Denis has chameleons that can only change their color to red or brown. Initially, the number of red chameleons was five times the number of brown chameleons. After two brown chameleons turned red, the number of red chameleons became eight times the number of brown chameleons. Find out how many chameleons Denis has.

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