Task: Program Execution
Input (English): [[-18, -28], [-46, -24, -21], [-10, 46, -23], [-4, 40, -43, -36], [-40, -14], [49, 23], [30, 44], [-8, 33, 5], [29, -12, 2], [5, -17], [23, 22, 12, -27, -36], [25, 31, 1], [-18, 27, 47]]
Output (English): [504, 1104, -460, 5760, 560, 0, 1320, -8, -24, 0, -9504, 0, -18]