In the grid some cells must be painted black. The numbers to the right of the grid and those below the grid show how many cells in that row or column must be black. In how many ways can this grid be painted?
(A) (B) (C) (D) (E) more than

In the grid some cells must be painted black. The numbers to the right of the grid and those below the grid show how many cells in that row or column must be black. In how many ways can this grid be painted?
(A) (B) (C) (D) (E) more than
