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