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