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