Task: Program Execution
Input (English): [1, 79, -41, 2, 40]
Output (English): [6, 318, -162, 0.5, 10.0]