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