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