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