Task: Program Execution
Input (English): [[23, -40, -50], [-12, 0, 14, 2], [11, -21, -21], [18, 15], [-20, -39, 22, -22, -19], [19, 24, 17, -26, 40], [-30, -2, 3, -29, 32]]
Output (English): [23, 0, 4851, 15, 741, 323, -87]