_______ in the queue for half an hour, Tom suddenly realized that he had left his wallet at home.
#93916
A
To wait
B
Have waited
C
Having waited
D
To have waited