单项选择题

When I was younger I ______ long distance, but now I'm out of practice.

A.was used to walk
B.got used to walk
C.was used to walking
D.used to walking