
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
Madison and her three friends are on a relay team where each must swim instead of run. They are to swim in a relay race where the most experienced swimmer, Madison, will always swim the fourth and last segment. How many different sequences can the team line up in, given that Madison will swim the final lap?

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