Task: Program Execution
Input (English): [3, 1, 2, 6, 1, 5, 0, 7, 1]
Output (English): [3, 2, 6, 5, 0, 7]