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