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