Task: Program Execution
Input (English): [[-41, 31, 50], [-43, -34, -24, 12, -39], [-24, 40, 32], [0, -1], [46, 11, 9, -27, -31]]
Output (English): [50, 9792, -30720, 0, 46]