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