Task: Program Execution
Input (English): [[-40, -2, 32, 47], [-5, 5, -27, 27], [31, -40, 31], [-42, -19]]
Output (English): [120320, 18225, -38440, 798]