Input: Head: PersonX gives PersonY command<sep>Tail: to tell them what to do
Output: Yes