Input: Head: PersonX gets behind PersonY<sep>Tail: to hide himself
Output: Yes