Context Word: drifter. 
Question: PersonX was a drifter who stayed in PersonY's house sometimes, so that _ could have shelter. 
Answer: PersonX
PersonX was a drifter who stayed in PersonY's house sometimes, so that _ could help him.