Task: Program Execution
Input (English): [[-5, -42], [-45, -31, 40], [-30, -44, 37, -10], [-5, 36], [6, -23, -41]]
Output (English): [-5, 1395, 37, -5, 943]