Task: Program Execution
Input (English): [-24, -14, -89, 40, -4, -40]
Output (English): [-19.0, -51.5, -24.5, 18.0, -22.0]