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