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