
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
A board meeting requires arranging five women on indistinguishable rocking chairs and five men on indistinguishable stools in a row of ten seats. However, due to a peculiar rule, the first and the last seat must be occupied by stools. How many distinct ways are there to arrange the chairs and stools for this meeting?

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