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