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