Task: Program Execution
Input (English): [[6, -47, -21, 10, 14], [-30, 20, -2, 28], [-21, -46], [9, -19], [-38, -45, -37, -50, -44]]
Output (English): [987, 0, -21, -171, 1665]