Task: Program Execution
Input (English): [[19, -12, -31], [26, 14], [-6, 0, 48], [19, 48, -28, 35, 6]]
Output (English): [-589, 0, 0, 665]