Task: Program Execution
Input (English): [[2, 16], [9, -17, -39], [-2, 30, 15, -40], [46, 20]]
Output (English): [0, 5967, 15, 0]