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