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