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