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