Task: Program Execution
Input (English): [18, -16, 15, -14, 2, 7]
Output (English): [17, -18, 12, -18, -3, 1]