Context Word: Goodwill. 
Question: PersonX shopped for a while and found a few items to bring up to PersonY at the Goodwill counter, then _ gave thanks and left. 
Answer: PersonX
PersonX shopped for a while and found a few items to bring up to PersonY at the Goodwill counter, then _ gave thanks and saw the next customer.