Task: Program Execution
Input (English): [[37, -24, 3], [-31, -1], [-20, -11, 41, 38], [43, 30, -34], [11, 3, -27, -42], [35, -20, -46, -47, -24], [-13, -12, -41, 13, -18]]
Output (English): [-2664, 31, 342760, -43860, 37422, 36321600, 1496664]