Fill the grid with 12 of each colour so that the rows and columns have the right number of colours in them.