There are 11 doctors - 5 doctors = <<11-5=6>>6 doctors left.

There are 18 nurses - 2 nurses = <<18-2=16>>16 nurses left.

In total there are 6 doctors + 16 nurses = <<6+16=22>>22 doctors and nurses left.

# Answer

22
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
The hospital has 11 doctors and 18 nurses. If 5 doctors and 2 nurses quit, how many doctors and nurses are left?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
22
The hospital has 11 doctors and 18 nurses. If 5 doctors and 2 nurses quit, how many doctors and nurses are left?
train