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