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