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