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