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