
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
Each of the $48$ students in the eighth grade at Maple High School owns at least one pet, either a dog or a cat or both. Thirty students have a dog and $34$ students have a cat. How many students have both a dog and a cat?
A) 12
B) 14
C) 16 
D) 18 
E) 20

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