Context Word: dog. 
Question: The dog ran up to PersonX instead of PersonY because _ had a frisbee and a few treats in his hands. 
Answer: PersonX
The dog ran away from PersonX instead of PersonY because _ had a frisbee and a few treats in his hands.