Task: Program Execution
Input (English): [[42, 42, -27, 40], [-18, -28, 8, 9], [-47, -11, -30, -1], [16, -42, -24, 46], [-23, -46, 45, 42, 49], [40, 25, -40, 25], [11, 27], [-31, -24, -20]]
Output (English): [-27, 9, -517, 0, -50715, 625, 297, -31]