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