
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
Five volunteers and two elderly people are taking a photo, and they need to be arranged in a row. The two elderly people must stand next to each other but cannot be at either end of the row. How many different arrangements are possible?

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