a group of people participate in some curriculum, 30 of them practice yoga, 20 study cooking, 15 study weaving, 5 of them study cooking only, 8 of them study both the cooking and yoga, 5 of them participate all curriculums. how many people study both cooking and weaving?
Choose the correct choice from the following answers:
A) 1
B) 2
C) 3
D) 4
E) 5
<gadget id="calculator">20 - 8</gadget>
<output>12</output>

<gadget id="calculator">12 - 5</gadget>
<output>7</output>

<gadget id="calculator">7 - 5</gadget>
<output>2</output>

<result>B</result>
a group of people participate in some curriculum, 30 of them practice yoga, 20 study cooking, 15 study weaving, 5 of them study cooking only, 8 of them study both the cooking and yoga, 5 of them participate all curriculums. how many people study both cooking and weaving?
subtract(subtract(subtract(20, 8), 5), 5)
"both cooking and weaving = 20 - ( 5 + 8 + 5 ) = 2 so , the correct answer is b ."