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