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