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