
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
Ten people sit down for a meal where there are two types of dishes. Five people order pasta and five order salad. The waiter serves the ten meals in a random order. Find the number of ways in which the waiter could serve the dishes so that exactly two people receive the type of meal they ordered.

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