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