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