Input: Head: PersonX gives PersonY bread<sep>Tail: to have PersonY thank him for the bread.
Output: Yes