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