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