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