
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
5 male students and 2 female students stand in a row for a photo:

(1) If the two female students must stand next to each other, how many different arrangements are there?

(2) If the two female students must not stand next to each other, how many different arrangements are there?

(3) If female student A cannot be at the left end and female student B cannot be at the right end, how many different arrangements are there?

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