Input: Head: cottage<sep>Tail: living
Answer: Yes