Choose the correct answer:
John and Sam were preparing for the exam ... the courier knocked at the door.