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