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