Task: Program Execution
Input (English): [0, -12, 12, -12, 12, -1, 8]
Output (English): [-1, -14, 9, -16, 7, -7, 1]