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