
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
Marius is entering a wildlife photo contest, and wishes to arrange his nine snow leopards of different heights in a row. This time, he wants the tallest and shortest leopards at the ends of the row. How many ways can he line up the leopards?

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