Mark Kornejchik's submission of Chef and Magic Arrays | CodeChef