Input: Head: person<sep>Tail: pug dog
Answer: Yes