Input: Head: PersonX improves PersonY's condition<sep>Tail: to go home
Output: Yes