
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
There are 7 students standing in a row. The questions are as follows:
1. How many arrangements are there such that students A and B must be adjacent?
2. How many arrangements are there such that students A, B, and C must all be adjacent?
3. How many arrangements are there such that students A and B must be adjacent, and student C cannot be at either end of the row?
4. How many arrangements are there such that students A, B, and C must be together, and the other four students must also be together?

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