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