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