Input: Head: PersonX gets behind PersonY<sep>Tail: to be next in line
Output: Yes