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