Input: Head: PersonX accepts PersonY offer<sep>Tail: Person X works for person y
Output: No