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