
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
There are 40 students in a class. 18 of them have blue pens, 26 have red pens, and 10 of them have both a blue pen and a red pen. How many students do not have either a blue pen or a red pen?

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