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