They _____ in Beijing for five years before they moved to Shanghai. A. lived B. have lived C. had lived D. will live