单项选择题

He doesn't smoke now, but he()two years ago.

A. am used to it
B. used to
C. used
D. used to do