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