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