Task: Program Execution
Input (English): [31, 86, 31, -98, 33, 34, -33, -77, -2]
Output (English): [126, 21.5, 126, -24.5, 134, 8.5, -130, -306, -0.5]