Input: Head: PersonX amends PersonY act<sep>Tail: Smart
Output: Yes