Task: Program Execution
Input (English): [[-47, -49], [-35, -30, 34], [-21, -24], [19, -35, -26, -28, 26], [37, 36, 37]]
Output (English): [0, -1020, -24, 18928, 36]