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