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