Task: Program Execution
Input (English): [40, -40, 40, 28, -62, 35, -83, -99, -67, 62, -87]
Output (English): [0.0, 0.0, 34.0, -17.0, -13.5, -24.0, -91.0, -83.0, -2.5, -12.5]