Task: Program Execution
Input (English): [[-25, -3, 22, -29, -40], [36, -5, -37, 22], [-47, 4, -14, 40, 17], [-40, 36, -39], [24, 7]]
Output (English): [-880, 792, -2240, -1440, 24]