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