Robert was very upset that most of his friends ___ when he ____ at the party
A:left ; had arrived
B:had left ; arrived
C:left ; arrived
D:had left ; had arrived