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