单项选择题

The children went home from the grammar school, their lessons ______ for the day.

A.finishing
B.finished
C.had finished
D.were finished