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