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