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