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