Задание

Fill in the gap with the right form of the verb.
Bob was having some coffee with his friends when he ____________________ \(to hear\) the news.