Задание

Rewrite the sentence in the reported speech.
The teacher said to us, "Write your names at the top of the paper."