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