单项选择题

When I arrived, I learned my classmates ______ for almost an hour.

A. had gone
B. had started
C. had left
D. had been away