Solution (source code)

= Solution

The shapes in $MM^T$ are $(3\times n)(n\times3)$, whose inner dimensions always match. Hence \b[every <positive integer> $n$ is allowed], and the resulting <matrix> is $3\times3$.