Fourth-grader refused to answer offensive math problem