
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
If Mathematics can only be scheduled as the first or last subject, and Physics and Chemistry must be scheduled in adjacent time slots, calculate the number of different ways to arrange the schedule.

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