
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
In class 12th grade (12), there are 6 students, with 2 wearing red clothes, 2 in blue, and the other two each wearing black and yellow, respectively. They need to stand in a line for a photo, with the requirement that students wearing the same color clothes do not stand next to each other, and the students wearing black and yellow must stand next to each other. There are a total of ___ different ways to arrange this.

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