单项选择题

I()a taxi when it was raining.

A. used to take
B. used to taking
C. used to be taking D. was used to taking