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