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