Input: Head: PersonX expresses PersonX's thanks<sep>Tail: to buy a gift.
Output: Yes