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