单项选择题

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

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