Task: Program Execution
Input (English): [[41, -14, 31], [-40, -10], [17, -8, 24], [29, 8, 8, 5, 24], [43, -23, -12, 15], [-2, -46, -30], [48, -2], [-9, -15, 17, -6, -42]]
Output (English): [1271, 0, 17, 145, -14835, 0, 0, 2295]