Context Word: greeting. 
Question: PersonX saw and waved happily at PersonY because _ liked to give long and warm greetings. 
Answer: PersonX
PersonX saw and waved happily at PersonY because _ liked to receive long and warm greetings.