Task: Program Execution
Input (English): [[-40, 4, -27, 15, -1], [15, 10, 2, 2, 21], [7, 9, 39, 18], [10, 43, -38, 19, -26], [-4, 36, -16], [-34, -4, 36, -50], [-24, 21], [-1, -11], [12, 23], [30, -47], [42, -48]]
Output (English): [405, 315, 2457, 817, 0, 0, 21, 11, 23, -47, 0]