Task: Program Execution
Input (English): [[47, 18], [-14, -28], [-31, 37, -47, 26, 4], [42, 35, 29]]
Output (English): [47, 0, 53909, 1015]