Task: Program Execution
Input (English): [2, 12, 18, -18, 15, 5]
Output (English): [1, 10, 15, -22, 10, -1]