Input: Head: PersonX discharges PersonY's duty<sep>Tail: responsible
Output: Yes