Arrange nine red cubes, nine blue cubes and nine yellow cubes into a large $3$ by $3$ cube.

No row or column of cubes must contain two cubes of the same colour.