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