Task: Program Execution
Input (English): [6, 16, 7, -7, -7, -6, -7, -9, 1, -18]
Output (English): [5, 14, 4, -11, -12, -12, -14, -17, -8, -28]