18. The flight ______ by the time we arrived at the airport. (A)departs (B)was departing (C)has departed (D) had departed