
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 15 students who are enrolled in both geometry and history classes. A total of 35 students are taking geometry, and 18 students are enrolled only in history class. How many students are taking either geometry or history but not both?

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