In a school, 45 students are taking classes. Thirty of them are enrolled in Accounting and 18 students are enrolled in Economics. Twelve of them are taking both classes. How many of the students are not in either class?


A.5. B.7. C.9. D.11