Input: Head: PersonX gives PersonY the command<sep>Tail: Leader
Output: Yes