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