
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 5 students in a queue. The questions are as follows:
1) In how many ways can students A and B be adjacent to each other?
2) In how many ways can students A, B, and C be not adjacent to each other?
3) In how many ways can student B not be in front of student A, and student C not be in front of student B?
4) In how many ways can student A not be in the middle, and student B not be at either end?

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