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