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