Every student in a homeroom class takes a biology course or a Spanish course or both. If 18 take biology, 13 take Spanish and 5 take both, how many students are in the homeroom classroom?
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Every student in a homeroom class takes a biology course or a Spanish course or both. If 18 take biology, 13 take Spanish and 5 take both, how many students are in the homeroom classroom?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
26
Every student in a homeroom class takes a biology course or a Spanish course or both. If 18 take biology, 13 take Spanish and 5 take both, how many students are in the homeroom classroom?
train