Question 27
One of the numbers $1$, $2$, $3$ is written in each cell of a rectangular table with $4$ rows and $n$ columns. For every three different columns there is a row that intersects them at cells with different numbers. Find the maximum $n$ for which there exists such a table.