
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 30 students participating in an after-school program offering classes in drawing, chess, and music. Each student must take at least one of these three classes, some may take two or all three. There are 15 students taking drawing, 17 taking chess, and 12 taking music. There are 14 students taking at least two classes. Determine the number of students who are taking all three classes.

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