Input: Head: hat<sep>Tail: to wear as magician
Answer: Yes