单项选择题

When the students came into the classroom, the teacher ______ on the blackboard.

A.
[A] was writing

B.
[B] is writing

C.
[C] wrote