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