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