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