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