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