Input: Head: theatre<sep>Tail: work at
Answer: Yes