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