After the children had ......... doing their homework, the whole

After the children had ......... doing their homework, the whole family watched television.

A.ends

B.ended

C.fnishes

D.finished

正确答案是4