Which of the following is a complex sentence?

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