15. _______ in the queue for half an hour, Tom suddenly realized that he had left his wallet at home.(A) Having waiting(B) Waited(C) Having waited(D) Tom waited