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