Task: Program Execution
Input (English): [[-30, -44, -41], [-3, -31, -34, 16], [10, 27], [-23, 1, 40, 5, -19], [-15, 38, 47, 47]]
Output (English): [1320, -544, 10, 40, 38]