单项选择题

Mary was ______ to school when she saw the accident.

A.on her way
B.in her way
C.by her way
D.in a way