Task: Program Execution
Input (English): [[15, -16], [23, -5, 0, 31, -40]]
Output (English): [-240, 0]