Task: Program Execution
Input (English): [[4, -8, 26, -19, 18], [-22, 20, 36], [23, -29], [31, -46, -3, -47, -41], [-36, 40], [42, -6, 31, -43]]
Output (English): [284544, -15840, -667, 8243706, -1440, 335916]