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