Task: Program Execution
Input (English): [[42, -4, 18], [40, 17], [47, -10, 1, -39], [24, 3]]
Output (English): [0, 17, -1833, 3]