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