Задание

Put the verb in brackets into the past simple or the past continuous.
The teacher ... \(write\) on the blackboard while the pupils were reading the text.