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