Input: Head: PersonX gets PersonY information<sep>Tail: smart
Output: Yes