a group of people participate in some curriculum, 30 of them practice yoga, 25 study cooking, 15 study weaving, 6 of them study cooking only, 8 of them study both the cooking and yoga, 7 of them participate all curriculums. how many people study both cooking and weaving?	Select the correct option:
A) 1	B) 2	C) 3	D) 4	E) 5
<gadget id="calculator">25 - 8</gadget>
<output>17</output>

<gadget id="calculator">17 - 7</gadget>
<output>10</output>

<gadget id="calculator">10 - 6</gadget>
<output>4</output>

<result>D</result>
a group of people participate in some curriculum, 30 of them practice yoga, 25 study cooking, 15 study weaving, 6 of them study cooking only, 8 of them study both the cooking and yoga, 7 of them participate all curriculums. how many people study both cooking and weaving?
subtract(subtract(subtract(25, 8), 7), 6)
"both cooking and weaving = 25 - ( 6 + 8 + 7 ) = 4 so , the correct answer is d ."