Input: Head: PersonX arrives to the restaurant<sep>Tail: Smart
Output: Yes