Input: Head: PersonX gets behind PersonY<sep>Tail: mysterious
Output: Yes