A magic square is defined as an n-by-n grid of numbers such that the sum of
the numbers in each row, column, and the two long diagonal is equal to the
same number, known as the “magic sum.” Find the smallest possible magic
sum in a 3-by-3 magic square such that no number in the square is
composite and all the numbers are unique.