Input: Head: PersonX discharges PersonY's duty<sep>Tail: to give y orders
Output: Yes