Task: Program Execution
Input (English): [0, 1, 0, -17, -12, 8, 5, -9]
Output (English): [-1, -1, -3, -21, -17, 2, -2, -17]