Context Word: happy. 
Question: PersonX was happy for their friend's good fortune but PersonY wasn't because _ was a sympathetic person. 
Answer: PersonX
PersonX was happy for their friend's good fortune but PersonY wasn't because _ was a jealous person.