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