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