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