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