
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 now has eight snow leopards of different heights to arrange in a row for a photo contest. The two shortest leopards still have inferiority complexes and must be placed at the ends of the row. Additionally, the tallest leopard refuses to stand next to either of the shortest leopards. How many ways can Marius arrange these leopards?

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