Input: Head: hat<sep>Tail: dress for easter
Answer: Yes