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