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