Input: Head: medal<sep>Tail: hand on the wall
Answer: Yes