Which of the following is a complex sentence?

A. Sue gave Jim a new racket, and he left for the tennis courts.
B. Eileen bought pants but not a new jacket.
C. Mark wanted blueberry pie and vanilla ice cream.
D. As I expected, she showed up late.