Context Word: candy. 
Question: PersonX wore a costume and walked around while PersonY stayed home so _ took candy during Halloween. 
Answer: PersonX
PersonX wore a costume and walked around while PersonY stayed home so _ gave candy during Halloween.