Input: Head: dog<sep>Tail: go for walk
Answer: Yes