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