
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
In a park, there is a row of flags arranged in the sequence of 3 yellow flags, 2 red flags, and 4 pink flags. Xiaohong sees that the row ends with a pink flag. Given that the total number of flags does not exceed 200, what is the maximum number of flags in this row?

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