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