Context Word: hamster. 
Question: The hamster ran loose and scared PersonX but not PersonY because _ was not prepared to see the hamster scurrying on the floor. 
Answer: PersonX
The hamster ran loose and scared PersonX but not PersonY because _ was prepared to see the hamster scurrying on the floor.