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