
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
The Chinese national team's captain and the remaining five team members, including A and B, must be arranged in a line where the captain is at the beginning or end and A and B are next to each other. Calculate the total number of possible arrangements.

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