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