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