Input: Head: chess queen<sep>Tail: move diagonally horizontally and vertically
Answer: Yes