Task: Program Execution
Input (English): [[-1, -17, -8, 22, -18], [29, 12, -27, 45], [-49, 30]]
Output (English): [53856, -422820, -1470]