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