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