Input: Head: theatre<sep>Tail: have war
Answer: Yes