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