Input: Head: PersonX gives PersonY command<sep>Tail: what matter to be ordered
Answer: Yes