Task: Program Execution
Input (English): [[-31, 6, 0], [22, -32, -47, 47], [6, -8], [-20, -14, -39, 12, 2]]
Output (English): [-31, -2209, 0, -39]