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