
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
The teacher gave two math problems to a class of 30 students. 21 students solved the first problem correctly, and 18 students solved the second problem correctly. What is the minimum number of students who solved both problems correctly?

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