Task: Program Execution
Input (English): [18, -18, -7, -17, 6, 12]
Output (English): [17, -20, -10, -21, 1, 6]