3. On Tree Planting Day, the average number of trees planted per person in a class is 6. If only the female students were to complete the task, each should plant 15 trees; if only the male students were to complete the task, each should plant ( ) trees.
(A)9
(B) 10
(C) 12
(D) 14