
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
Given a 7-period day, and the condition that no two mathematics courses can be taken in consecutive periods, and the first and last periods cannot be math courses, calculate the number of ways a student can schedule 3 mathematics courses -- algebra, trigonometry, and calculus.

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