Input: Head: chess bishop<sep>Tail: move only vertically
Answer: Yes