12. _____ her shopping, she went home to have a rest. (A)Having finished (B)After had finished (C)Having been finished(D)After having finished