
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
Crestview school is revising its flag which consists of three solid-colored horizontal stripes. With an updated palette of red, blue, and yellow, how many different flags can be designed if adjacent stripes may be the same color?

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