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