Task: Program Execution
Input (English): [[-31, -34, 42, -11], [-30, -2, -32, 45], [0, -35], [40, 10]]
Output (English): [341, 45, -35, 0]