Task: Program Execution
Input (English): [[23, 50], [7, 31], [-4, 46, -34, 28, -7], [18, 29, -27, 5], [32, -40, 29], [-31, 13]]
Output (English): [23, 217, -7, -3915, 29, -403]