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