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