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