Task: Program Execution
Input (English): [0, 6, 2, 6, 2, 4, 7, 7]
Output (English): [0, 4]