Task: Program Execution
Input (English): [[-5, 5, 6, -19, 10], [-38, -42], [46, 4], [35, -1, -28], [18, -4, 31], [-23, -17]]
Output (English): [475, 0, 0, -35, 31, 391]