Task: Program Execution
Input (English): [[31, -13], [-2, -17, -15, 25], [-34, -5], [-27, -12, -41]]
Output (English): [-403, 6375, -5, 1107]