Question 65
Martin fills each cell of a rectangular grid with 8 rows and $n$ columns using one of the four letters $\{P\}, \{O\}, \{F\}$ and $M$. For every pair of distinct rows, at most one column has the same letter in its two cells in those rows. What is the largest possible integer $n$?