Task: Program Execution
Input (English): [[10, 30], [-12, 18, -9], [-25, 18, 50, 5], [31, 2]]
Output (English): [0, -9, -125, 31]