Input: Head: cat<sep>Tail: eat
Answer: Yes