Task: Program Execution
Input (English): [[-46, -25, 38], [-18, -47, 2, -50], [20, -48, 2, 45, -22], [-43, 46, -36], [-31, 45, 25, -37, -50], [31, 0, 46, 21, -27]]
Output (English): [-1748, 1800, 42240, -1656, -50, 0]