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