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