Task: Program Execution
Input (English): [[21, 10, -13], [-40, 6, 28, 7], [-39, 23, -36], [-15, -33, -31], [9, -44, 32, -43, -50]]
Output (English): [-273, 7, -897, -15345, -387]