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