单项选择题

—Did the audience participate in the play
—Yes, those actors ______ to involve the audience did a good job.

A. whom it was the function
B. of whom the function was
C. whose function was
D. whose were the function