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