Input: Head: PersonX gives PersonY command<sep>Tail: happy
Answer: Yes