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
3. B

Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.