Task: Program Execution
Input (English): [[4, 25, -5, -31], [-1, 5, -24, 5, 31]]
Output (English): [15500, 18600]