Task: Program Execution
Input (English): [[-5, -2], [-5, -10], [-32, 0, -10, 5], [-23, -31], [-2, -8], [-43, 7, -37, -31], [-39, -30, 44], [6, -39, -37, -30], [-44, -42, -5, -5, 40]]
Output (English): [10, 50, 0, 713, 16, -345247, 51480, -259740, 1848000]