Context Word: school. 
Question: PersonX got very good grades in school while PersonY was constantly failing classes because _ had very good study habits. 
Answer: PersonX
PersonX got very good grades in school while PersonY was constantly failing classes because _ did not have very good study habits.