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