Context Word: coffee. 
Question: PersonX bought PersonY a large coffee when they arrived to work for _ was a morning person. 
Answer: PersonX
PersonX bought PersonY a large coffee when they arrived to work for _ wasn't a morning person.