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