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