Context Word: agency. 
Question: The recruiting agency of PersonX does better than PersonY's due to _ having an amazing reputation. 
Answer: PersonX
The recruiting agency of PersonX does better than PersonY's due to _ having an average reputation.