Input: Head: PersonX gets on PersonY's case<sep>Tail: independent
Output: Yes