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