Task: Program Execution
Input (English): [[-40, 50, -37], [5, -5, -26, -27, -4], [26, 1], [34, -17], [31, 32, -47]]
Output (English): [74000, 70200, 26, -578, -46624]