Context Word: articles. 
Question: PersonX was very good at writing articles but PersonY was not. _ had their work published in a magazine. 
Answer: PersonX
PersonX was very good at writing articles but PersonY was not. _ didn't have their work published in a magazine.