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


Answer: Yes