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