In a class of 50 students, 18 play basketball, 22 play soccer, and 2 play both basketball and soccer. How many students in the class do not play either basketball or soccer?
A.4
B.9
C.10
D.11
E.12
In a class of 50 students, 18 play basketball, 22 play soccer, and 2 play both basketball and soccer. How many students in the class do not play either basketball or soccer?