
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 female student A wants to stand at one of the ends, how many different arrangements are there?  
(2) If both female students do not stand at the ends, how many different arrangements are there?  
(3) If the two female students are not adjacent, how many different arrangements are there?  
(4) If they stand in a row, and female student A wants to be on the right side of female student B, how many different arrangements are there?

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