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