Input: Head: PersonX accepts PersonY offer<sep>Tail: Person X thanks person Y
Output: No