In a survey of university students, 64 had taken mathematics course, 94 had taken computer science course, 58 had taken physics course, 28 had taken mathematics and physics, 26 had taken mathematics and computer science, 22 had taken computer science and physics course, and 14 had taken all the three courses. Find how many had taken mathematics course only.	Choose the correct choice:  A) 64  B) 14  C) 12  D) 14  E) 24
Let us represent the given data in a Venn diagram. Let M, C, P represent sets of students who had taken mathematics, computer science and physics respectively.   M=64   M and C and P=14   M and C not P=26-14= 
<gadget id="calculator">26-14</gadget>
<output>12</output>
12   M and P not C=28-14= 
<gadget id="calculator">28-14</gadget>
<output>14</output>
14   M only= 64-12-14-14= 
<gadget id="calculator">64-12-14-14</gadget>
<output>24</output>
24   ANSW24R 24 24
<result>E</result>
In a survey of university students, 64 had taken mathematics course, 94 had taken computer science course, 58 had taken physics course, 28 had taken mathematics and physics, 26 had taken mathematics and computer science, 22 had taken computer science and physics course, and 14 had taken all the three courses. Find how many had taken mathematics course only.