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