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