Fill the grid with digits 1 to n, so that each digit occurs exactly once in every row, every column and every outlined region.