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