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