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