Input: Head: person<sep>Tail: pet cat
Answer: Yes