Y by
A
board has some of its cells coloured red, blue, or green. Each cell is coloured with at most one colour, and some cells may remain uncoloured. Additionally, there is at least one cell of each colour. Two coloured cells are said to be friends if they have different colours and lie in the same row or in the same column. The following conditions are satisfied:

- Each coloured cell has exactly three friends.
- All three friends of any given coloured cell lie in the same row or in the same column.