Context Word: walnuts. 
Question: PersonX enjoyed eating walnuts while PersonY did not since _ was not allergic to any kind of nut. 
Answer: PersonX
PersonX enjoyed eating walnuts while PersonY did not since _ was not allergic to all kinds of nuts.