Задание

Write the correct form of the verb in brackets.

I _______ \(do\) my homework when my friend sent me a message.