Context Word: maintaining. 
Question: PersonX was better at maintaining good grades than PersonY because _ liked to study with her friends. 
Answer: PersonX
PersonX was better at maintaining good grades than PersonY because _ liked to party with her friends.