
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
When five students are lining up to take a photo, and two teachers join in, with the order of the five students being fixed, calculate the total number of ways for the two teachers to stand in line with the students for the photo.

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