Pergunta de entrevista da empresa Block

Write a solution to the magic square problem