Input: Head: chess rook<sep>Tail: castle off in right circumstances
Answer: Yes