The train we ________ for so long was crowded,so we decided to catch a later one.()
A.have been waiting
B.were waiting
C.had been waiting
D.have waited