Task: Program Execution
Input (English): [[16, 30, 4], [-31, -18], [-49, -4, -7, 15], [-49, 29, 11], [-46, 4]]
Output (English): [0, -31, 5145, -15631, 0]