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