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