Task: Program Execution
Input (English): [29, 71, 81, -40, 48, 87, 31]
Output (English): [118, 286, 326, -10.0, 12.0, 350, 126]