Task: Program Execution
Input (English): [[-18, -22], [10, -27, -29, -50], [1, 42, 14], [39, 1, 29, -9, 30], [34, 5, 20]]
Output (English): [396, -500, 588, 30, 680]