单项选择题

As a matter of fact, they would rather leave for Beijing than ______ in Shanghai.

A.stay
B.staying
C.stayed
D.to stay