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