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