Task: Program Execution
Input (English): [[42, 32, 45, -6], [40, -47, 25], [12, 24, -30], [31, 15, -34], [49, -7], [28, 5, -32, -16], [-6, 4], [6, -20, 46], [6, 50, -46, 8, -31]]
Output (English): [45, -1175, 0, 465, -343, 5, 0, 0, -31]