Bricks

Bricks is a number logic puzzle. The puzzle has the appearance of a brick wall. In the cells of each “brick,” one digit is even and the other is odd.

Bricks

Rules: In each cell of the NxN grid, enter a number in the range 1-N. Each number must appear exactly once in each row and column.
Each “brick” must contain one even and one odd number. Half bricks at the left and right edges of a row together form a whole brick.