单项选择题

When I came into the classroom, the teacher ______ something on the blackboard.

A. is writing
B. was writing
C. wrote