Task: Program Execution
Input (English): [2, 50, 11, -52, -31, 11, 0, 39]
Output (English): [0.5, 12.5, 46, -13.0, -122, 46, 0.0, 158]