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