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