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