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