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