Task: Program Execution
Input (English): [[-31, 37], [-27, 41, -29, -28], [50, 1, 6, -15], [-18, 14, -10], [-2, 14]]
Output (English): [-1147, -898884, -4500, 2520, -28]