Context Word: happiness. 
Question: PersonX was optimistic and successful while PersonY was pessimistic and had bad luck, so _ experienced happiness frequently. 
Answer: PersonX
PersonX was optimistic and successful while PersonY was pessimistic and had bad luck, so _ experienced happiness seldomly.