Task: Program Execution
Input (English): [0, 22, -40, -87, 9, -99]
Output (English): [0, 44, 120, 261, 18, 297]