
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 a "five rows and six columns" seating arrangement, with 30 students, find the number of different seating arrangements for two students from the same school who are assigned to sit in the same room and cannot sit immediately next to each other in any direction.

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