Input: Head: PersonX catches the thief<sep>Tail: to detain the thief
Output: Yes