Task: Program Execution
Input (English): [[-12, -24, -31], [47, 43, 10, -7], [8, 34, 30], [-24, 41, 47, 39, 0], [-45, -7, 25], [-43, 9, 8], [-32, -24, 17], [43, 14, 20, 12]]
Output (English): [288, 10, 8160, 0, 0, 8, 768, 3360]