Task: Program Execution
Input (English): [[-1, -50, 8], [19, 23, -15, 38, -29], [42, -31], [37, -27, 39]]
Output (English): [-1, 190095, -31, -38961]