
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 in a row. Each leopard has a unique collar color. The two shortest leopards have inferiority complexes and demand to be placed at the ends of the row. Moreover, the two tallest leopards, which have a superiority complex, insist on being placed next to each other somewhere in the row. How many ways can Marius arrange the leopards under these conditions?

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