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