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