Input: Head: tie<sep>Tail: wear to work
Answer: Yes