Task: Program Execution
Input (English): [[0, -31, 45, 21, -43], [27, 44, 33, 17, -14], [4, 22], [31, 12, -31, -31]]
Output (English): [1259685, 15147, 0, 29791]