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