Task: Program Execution
Input (English): [[-1, -1, -40], [-6, -47, 42, -9]]
Output (English): [-40, -106596]