Task: Program Execution
Input (English): [[-29, -19, 7], [10, -37], [-36, 29, -9, 0]]
Output (English): [3857, -370, 0]