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