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