Task: Program Execution
Input (English): [[-3, -39], [25, 14, 30, -47, 19], [37, 28], [29, -30, 23]]
Output (English): [117, -22325, 37, 667]