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