
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
In a class, $36$ students participate in extracurricular research groups for mathematics, physics, and chemistry. Each student can participate in at most two groups. It is known that the numbers of students participating in the mathematics, physics, and chemistry groups are $26$, $15$, and $13$ respectively. There are $6$ students who participate in both mathematics and physics groups, and $4$ students who participate in both physics and chemistry groups. Find the number of students who participate in both mathematics and chemistry groups.

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