Input: Head: PersonX finds PersonY trace<sep>Tail: Smart
Output: Yes