Task: Program Execution
Input (English): [[-10, 14, 39], [21, -38, -4, -14, -47], [-6, 41, 29, 7]]
Output (English): [39, -987, 8323]