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