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