Input: Head: PersonX gives PersonY food<sep>Tail: cook food
Answer: Yes