Input: Head: PersonX can not find PersonY anywhere<sep>Tail: panic
Output: Yes