A group of people participate in some curriculums, 20 of them practice Yoga, 10 study cooking, 12 study weaving, 3 of them study cooking only, 4 of them study both the cooking and yoga, 2 of them participate all curriculums. How many people study both cooking and weaving?
A.1
B.2
C.3
D.4
E.5