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