twenty horizontal rows of twelve, which was easy enough for me to remember since 20 is the atomic number for Calcium and 12 the number for Magnesium—all I had to do was think of CaMg.
That works for literally any two numbers, you are bad at mnemonics