Context Word: ready. 
Question: PersonX but not PersonY was ready for the attack because _ heard the enemy approaching. 
Answer: PersonX
PersonX but not PersonY was ready for the attack because _ did not hear the enemy approaching.