Task: Program Execution
Input (English): [[-10, -31, -6, -19, 46], [27, -37], [-39, 48, -47, -4]]
Output (English): [1625640, -999, -351936]