In a class of 40 students, 12 enrolled for both English and German. 22 enrolled for German. If the students of the class enrolled for at least one of the two subjects, then how many students enrolled for only English and not German?	Pick one.
A) 30
B) 10
C) 18
D) 28
E) 32

Rationale: "answer let a be the set of students who have enrolled for english and b be the set of students who have enrolled for german . then , ( a u b ) is the set of students who have enrolled at least one of the two subjects . as the students of the class have enrolled for at least one of the two subjects , a u b = 40 we know a u b = a + b - ( a n b ) i . e , 40 = a + 22 - 12 or a = 30 which is the set of students who have enrolled for english and includes those who have enrolled for both the subjects . however , we need to find out the number of students who have enrolled for only english = students enrolled for english - students enrolled for both german and english = 30 - 12 = 18 . choice is ( c )"
Answer: C