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