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