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