Task: Program Execution
Input (English): [[3, -12], [23, 2, -4, 7], [41, -37], [-8, -47], [2, -41, 37, 11, -12]]
Output (English): [-36, -1288, -1517, 376, 400488]