Context Word: bike. 
Question: The shiny new red bike was exactly what PersonX wanted so PersonY bought it as a gift, then they hugged because _ was so thankful. 
Answer: PersonX
The shiny new red bike was exactly what PersonX wanted so PersonY bought it as a gift, then they hugged because _ was so generous.