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