Task: Program Execution
Input (English): [[-28, 22], [-24, -31, -1], [4, 3], [-47, -40, 0, -29, 18], [-50, -21, -5]]
Output (English): [-616, -744, 12, 0, -5250]