Task: Program Execution
Input (English): [[20, -5], [34, -9, 28, -43], [3, -45, -7, -24, 23], [-40, -26, 27], [-18, 3, -25, -7, -47]]
Output (English): [-5, 387, 21735, 27, -24675]