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