
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
Five teachers and students are standing in a row for a photo, including 1 teacher, 2 male students, and 2 female students. Under the following conditions, how many different standing arrangements are there?  
(I) The teacher stands in the middle of the four students;  
(II) The two female students must stand next to each other;  
(III) The two male students must not stand next to each other;  
(IV) The teacher does not stand in the middle, and the female students do not stand on the sides.

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